easy filecopy? - JPython?
Barry A. Warsaw
bwarsaw at cnri.reston.va.us
Tue Jun 15 17:11:05 EDT 1999
>>>>> "Fred" == Fred L Drake <fdrake at cnri.reston.va.us> writes:
Fred> shutil.copyfile() works just fine (JPython 1.0.3 on
Fred> java1.2), but shutil.copymode() relies on os.chmod(), which
Fred> isn't there. I'm sure Barry Warsaw (bwarsaw at python.org)
Fred> would love to receive a patch for JPython to support that!
Fred> ;-)
Probably not possible in 100% Java. If os.chmod() is really important
to you, then you should check out Finn Bock's JNI implementation of os
and posix.
http://pip.dknet.dk/~pip1848/jpython/Readme_jnios.html
-Barry
More information about the Python-list
mailing list