From: Mark R. <blo...@ho...> - 2001-09-21 12:10:02
|
>From: Sebastien Pierre <Seb...@is...> >To: Mark Robinson <blo...@ho...> >Subject: Re: [Jython-users] no os.chdir() in jython? >Date: Fri, 21 Sep 2001 11:58:50 +0200 > > > > I have just found out that the os module in jython doesn't > > include the os.chdir() method. Can anyone tell me how it's > > functionality is usually achieved in jython? > >From what I know about Java, there is no way to change the current >directory...Thought maybe using the JVM properties, but I don't remember >the property name. Thanks!! I guess the java/jython way to do this is store the path and use the full path when writing files, rather than switching directories. It was probably bad practice anyhow ;), I exhibit lots of that. It does seem strange that java doesn't have these capabilities, is it due to security do you know? cheers blobby > >Cheers, > > -- Sebastien. _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp |