Remove directory tree without following symlinks

Random832 random832 at fastmail.com
Fri Apr 22 11:09:26 EDT 2016


On Fri, Apr 22, 2016, at 10:56, Steven D'Aprano wrote:
> What should I use for "remove_tree"? Do I have to write my own, or does a
> solution already exist?

In the os.walk documentation it provides a simple recipe and also
mentions shutil.rmtree



More information about the Python-list mailing list