[Tutor] module file copy ?
Mike Hansen
Mike.Hansen at atmel.com
Thu Sep 21 22:48:16 CEST 2006
> -----Original Message-----
> From: tutor-bounces at python.org
> [mailto:tutor-bounces at python.org] On Behalf Of Dave S
> Sent: Thursday, September 21, 2006 2:41 PM
> To: Python Tutor
> Subject: [Tutor] module file copy ?
>
> OK have I missed it - but which module is file copy in ? I
> looked all around
> OS but no luck - I can find rename(src, dst) but that's about it.
>
> Cheers
>
> Dave
>
> _______________________________________________
> Tutor maillist - Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
>
I think I had the same problem when I started using Python.
It's the shutil module.
shutil.copyfile(src, dst)
Mike
More information about the Tutor
mailing list