On Tue, Sep 14, 2021, 11:17 PM Finn Mason <finnjavier08@gmail.com> wrote:
I disagree. The way I see it, `pathlib` is home of *Path(). No functions. Just *Path(). Then again, I didn't write pathlib. I could be misunderstanding the intent.

When I wrote "in" I was thinking more of a method than a function. E.g.

with Path("/new/dir/").workdir() as wd:
    # ... do stuff ...