by olau · 4y ago · 0 comments
While this is no doubt right, I think you could build a little abstraction that simplified piping syntax considerable. The subprocess module is not terribly convenient, although it has gotten less confusing over the years.
Python does have operator overloading, so you could even make it fancy.
This is an important point for scripting as nobody wants to setup a venv to run a simple script.
Zippapp are a solutions to that but most people don't know abot them. Also, it's not convenient enough to make at the moment.