No os.copy()? Why not?

John Ladasky john_ladasky at sbcglobal.net
Wed Mar 28 16:12:30 EDT 2012


I'm looking for a Python (2.7) equivalent to the Unix "cp" command.
Since the equivalents of "rm" and "mkdir" are in the os module, I
figured I look there.  I haven't found anything in the documentation.
I am also looking through the Python source code in os.py and its
child, posixfile.py.

Any help?  Thanks.



More information about the Python-list mailing list