I love the pathlib.Path
api and use it a lot for quick cli tools. Especially with typer. I have a few tightly related questions:
- In UNIX cli commands
-
is the de facto standard for stdin. Is that the same under Windows? - Is there a clean, cross-platform way to have a
pathlib.Path
object (or actually the {POSIX,Windows}Path it automatically becomes) to represent stdin? - And what about stdout?