recursively removing files and directories

Fuzzyman fuzzyman at gmail.com
Mon Jan 16 09:42:46 EST 2006


shutil.rmtree

You might need an ``onerror`` handler to sort out permissions.

There is one for just this in pathutils :

http://www.voidspace.org.uk/python/pathutils.html

All the best,

Fuzzyman
http://www.voidspace.org.uk/python/index.shtml




More information about the Python-list mailing list