On Sep 18, 2010, at 5:24 PM, pyt...@bdurham.com wrote: > Is there a standard library function to remove a folder that may > contain files and subfolders? Or must I write a function that > walks my folder's children and deletes all files/subfolders > first, and then call os.removedirs()?
In Python 2.x: shutil.rmtree() Might have moved in Python 3.x. HTH Philip -- http://mail.python.org/mailman/listinfo/python-list