write a file "copy" program in Python for Unix and Windows...

Miki Tebeka tebeka at cs.bgu.ac.il
Mon Sep 29 02:26:16 EDT 2003


Hello Ben,

> I need to write a program to "copy" files and preserved the files'
> atime, mtime, ctime, file permissions. I also need to have this
> program working in Unix and Windows, where the "Archive"
> attribute on the file also has to be preserved (any more
> Windows idiosyncrasies?).
http://www.python.org/doc/current/lib/module-shutil.html

HTH.
Miki




More information about the Python-list mailing list