
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:
-- Christopher Barker, PhD (Chris) Python Language Consulting - Teaching - Scientific Software Development - Desktop GUI and Web Development - wxPython, numpy, scipy, Cython

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:
-- Christopher Barker, PhD (Chris) Python Language Consulting - Teaching - Scientific Software Development - Desktop GUI and Web Development - wxPython, numpy, scipy, Cython
participants (2)
-
Charles Machalow
-
Christopher Barker