[EMAIL PROTECTED] wrote: > I've been searching to find a way to force this delete to work even if > the directory isn't empty. I've had no luck thus far. Anyone know > what that would be?
Answering your immediate question: you can't force os.removedirs to delete non-empty dirs. But shutil.rmtree(path, ignore_errors=True) does what you want. HTH, Marc -- http://mail.python.org/mailman/listinfo/python-list