Jython file manipulation?!

Matthew Bonig mbonig at hotmail.com
Sun Sep 22 03:45:03 EDT 2002


I am trying to rename a file in Jython...
the command I am using is just
os.rename(filename, newFilename)
I also tried doing in in java with
f = File(filename)
f.renameTo(File(newFilename)

but that didn't work either!
Any ideas?
thanks
matthew





More information about the Python-list mailing list