|
From: Samuele P. <pe...@in...> - 2001-09-06 15:56:40
|
Lars Hupfeldt Nielsen wrote: > Hi Brian, > > Thank you for your quick reply. > > It is correct that Java seems to have no notion of a current directory > besides the directory in which the jvm was started. This means that a > perfect solution is not possible. However, a solution which would make > normal (no java.io.... calls) python scripts work correctly is possible. > Jython should maintain it own notion of current directory, file names > should be changed to absolute before calling java. > Makes sense, but personally (don't know about Finn) I will not spend a second trying to implement that. First because of the java.io non java.io resulting confusion. From a general perspective os.chdir is a lot shell task oriented, I personally think if one is writing a shell task program, she's better served by CPython anyway. OTOH sound patches are always welcome. regards, Samuele Pedroni. |