easy filecopy? - JPython?

Gordon McMillan gmcm at hypernet.com
Tue Jun 15 13:49:36 EDT 1999


Fred Drake wrote:

>   shutil.copyfile() works just fine (JPython 1.0.3 on java1.2), but
> shutil.copymode() relies on os.chmod(), which isn't there.  I'm sure
> Barry Warsaw (bwarsaw at python.org) would love to receive a patch for
> JPython to support that!  ;-)

Last I recall (a while ago), os.chmod() doesn't work on Win9* and 
acts as a noop on WinNT under CPython. This might explain why the 
functionality isn't there in Java?

- Gordon




More information about the Python-list mailing list