deleting a file and looping
Patrick Thorstenson
pthorstenson at co.montezuma.co.us
Mon Jul 25 17:49:26 EDT 2005
I can delete a folder OK using os.remove as long as its empty. I am
having difficulty deleting the same folder when there are files in it. I
have tried os.removedirs and shutil.rmtree as well but no luck. What am
I missing?
Patrick Thorstenson
GIS Specialist
Montezuma County
(970) 564-9298 ext 4169
pthorstenson at co.montezuma.co.us
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20050725/48be18d3/attachment.html>
More information about the Python-list
mailing list