easy filecopy? - JPython?

Barry A. Warsaw bwarsaw at cnri.reston.va.us
Tue Jun 15 23:11:05 CEST 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.



More information about the Python-list mailing list