copying files - how?

djw dwelch at
Fri Oct 11 20:28:11 CEST 2002

Stefan Waizmann wrote:
> Hi, guys,
> does anybody have an idea how to copy files with python (means a python code 
> should copy a file)? As the file might be big, efficient os-operations 
> would be preferred ;-)
> Thanks, Stefan

Look at the "copyfile()" function in the "shutil" Python Standard 
Library module.

More information about the Python-list mailing list