recursively removing files and directories

rbt rbt at athop1.ath.vt.edu
Mon Jan 16 10:19:16 EST 2006


Fuzzyman wrote:
> shutil.rmtree

Many thanks. I'll give that a go!

> 
> 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