> On 12 May 2023, at 18:54, mitchell.negus...@gmail.com wrote:
>
> At the moment, `shlex.join` raises
>
> ```
> TypeError: expected string or bytes-like object
> ```
>
> when given `pathlib.Path` objects. Since `subprocess.run` and related
> subprocess commands allow `Path` since Python 3.6
Seems fine, but a pypi library seems better than the standard library.
Separately, I think this is usually called "currying", and there are
already libraries which implement this functionality, eg toolz:
https://toolz.readthedocs.io/en/latest/curry.html
Best wishes,
Lucas Wiman
___
You know, after several years of following this list, and many more of
programming in Python, I don't know if I ever realized that forum
existed... or at least differed from the mailing lists. Thanks!
-Mitch
On Sat, May 13, 2023 at 3:45 PM Barry wrote:
>
>
> On 12 May 2023, at 18:54, mitchell.n