Copying files in directory

ianaré ianare at gmail.com
Tue Dec 16 11:48:50 EST 2008


On Dec 15, 9:49 pm, pacsciad... at gmail.com wrote:
> I'm writing a project management system, and I need the ability to
> accept a directory name and move its contents to another directory.
> Can someone give me a code sample that will handle this? I can't find
> any "copying" functions in os or os.path.
>
> Regards,
> LeafStorm

shutil's move function does what you describe



More information about the Python-list mailing list