[Tutor] os.rename vs. shutil.move

Bill Allen wallenpb at gmail.com
Sun Apr 17 00:13:53 CEST 2011


What are the particular advantages or disadvantages concerning using either
os.rename or shutil.move to rename a file.   I have tried both and for
simple renaming they seem equivalent.


Thanks,
Bill Allen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20110416/3b9a8c7c/attachment.html>


More information about the Tutor mailing list