How can I move and copy files using python?

Martin Franklin mfranklin1 at gatwick.westerngeco.slb.com
Thu Oct 30 08:20:20 EST 2003


On Wed, 2003-10-29 at 22:39, Kay Lee wrote:
> Hi,
> 
> I looked up os module to find out some method to move and copy files in
> python,
>  but os doesn't support such methods.
> Is there any way to move & copy files in python?
> Thanks in adv.

shutil module should have everything you need

http://www.python.org/doc/current/lib/module-shutil.html


Cheers
-- 
Martin Franklin <mfranklin1 at gatwick.westerngeco.slb.com>






More information about the Python-list mailing list