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 -- [email protected]
To unsubscribe send an email to [email protected]
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).
___
Pyth
I suggest you join the discussion at:
https://discuss.python.org/t/incrementally-move-high-level-path-operations-from-shutil-to-pathlib/19208/10
-CHB
On Sun, Oct 23, 2022 at 10:20 PM Charles Machalow
wrote:
> As in: I believe it makes sense to have rmtree functionality exposed on
> pathlib.Pa