file copy shutil

Michael Hudson mwh at python.net
Mon Feb 9 14:02:53 EST 2004


heavens7s at hotmail.com (Joe) writes:

> I see this on python.org
> 
> "Caveat: On MacOS, the resource fork and other metadata are not used.
> For file copies, this means that resources will be lost and file type
> and creator codes will not be correct."
> 
> Is there a way to copy files correctly on BOTH Mac and Windows?  I am
> trying to write a utility that will work on both platforms identically
> since I am in a mixed environment network.  Thanks.

Look at distutils.file_util (or someting like that...)

Cheers,
mwh

-- 
  Usenet is like a herd of performing elephants with diarrhea --
  massive, difficult to redirect, awe-inspiring, entertaining, and
  a source of mind-boggling amounts of excrement when you least 
  expect it.                                             -- spaf (1992)



More information about the Python-list mailing list