[Tutor] Re: Copy files

Andrei project5 at redrival.net
Thu Oct 2 17:09:54 EDT 2003


> Is there some python function to make a copy of a file?
> 
> I'd like to do it as with a native function like os.unlink,
> os.mkdir, but I'm not finding a function that do it.

Look at the shutil module.

-- 
Yours,

Andrei

=====
Mail address in header catches spam. Real contact info (decode with rot13):
cebwrpg5 at bcrenznvy.pbz. Fcnz-serr! Cyrnfr qb abg hfr va choyvp cbfgf. V ernq gur 
yvfg, fb gurer'f ab arrq gb PP.





More information about the Tutor mailing list