What about adding shutil.rmtree while here?
I'm of the opinion that if it's file/path based, having access via pathlib.Path makes sense.
_______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/XLHJZOHFXFXEQ477X7LFFQ7B7YAHNJ45/ Code of Conduct: http://python.org/psf/codeofconduct/