Re: [Tutor] os.rename vs. shutil.move

2011-04-16 Thread Bill Allen
Ok, thanks. --Bill On Sat, Apr 16, 2011 at 18:15, Steven D'Aprano wrote: > Bill Allen wrote: > >> 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. >

Re: [Tutor] os.rename vs. shutil.move

2011-04-16 Thread Steven D'Aprano
Bill Allen wrote: 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. Consider non-simple renaming. At the interactive interpreter, call: help(os.rename) and t

[Tutor] os.rename vs. shutil.move

2011-04-16 Thread Bill Allen
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 ___ Tutor maillist - Tutor@python.org To unsubs