Standard library function to remove folder with files and subfolders?

python at bdurham.com python at bdurham.com
Sat Sep 18 23:24:32 CEST 2010


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()?

Thank you,
Malcolm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100918/3769f97e/attachment.html>


More information about the Python-list mailing list