> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] 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@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
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to