Copy files in cross-platform manner

Bayzuldin Timur bayt at max.net.ua
Sat Aug 24 22:44:46 CEST 2002


> Greg Fortune wrote:
> Is there any builtin python function that I've overlooked for copying
> files?  rename works great if you just need to move the file, but I
> actually need to make a copy.

See module "shutil" --> copyfile(src, dst), copy(src, dst) ... etc.
Dosn't work on Macintosh





More information about the Python-list mailing list