
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.

As in: I believe it makes sense to have rmtree functionality exposed on pathlib.Path objects..I think the convenience out-weighs the 'single way to do things'.
(Apparently I'm not good at making threads and don't know how to rename this one).

I suggest you join the discussion at:
https://discuss.python.org/t/incrementally-move-high-level-path-operations-f...
-CHB
On Sun, Oct 23, 2022 at 10:20 PM Charles Machalow csm10495@gmail.com wrote:
As in: I believe it makes sense to have rmtree functionality exposed on pathlib.Path objects..I think the convenience out-weighs the 'single way to do things'.
(Apparently I'm not good at making threads and don't know how to rename this one). _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-leave@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/S7YW5N... Code of Conduct: http://python.org/psf/codeofconduct/
participants (2)
-
Charles Machalow
-
Christopher Barker