[Python-Dev] os.removedirs() vs. shutil.rmtree()

Skip Montanaro skip at pobox.com
Sat Jan 8 21:45:25 CET 2005


Is there a reason the standard library needs both os.removedirs and
shutil.rmtree?  They seem awful similar to me (I can see they aren't really
identical).  Ditto for os.renames and shutil.move.  Presuming they are all
really needed, is there some reason they don't all belong in the same
module?

Skip


More information about the Python-Dev mailing list