file copy portability

Steve Holden steve at holdenweb.com
Tue Jan 18 20:04:15 EST 2005


Bob Smith wrote:

> Is shutil.copyfile(src,dst) the *most* portable way to copy files with 
> Python? I'm dealing with plain text files on Windows, Linux and Mac OSX.
> 
> Thanks!

Yes.

regards
  Steve
-- 
Steve Holden               http://www.holdenweb.com/
Python Web Programming  http://pydish.holdenweb.com/
Holden Web LLC      +1 703 861 4237  +1 800 494 3119



More information about the Python-list mailing list