News for hackers. Stuff that matters.
Re:No script is too simple by d0mine on Tuesday September 22, 2020 @04:51PM (#24559729)
The answer to" how I pipe shell commands in Python" is that you can do it (e.g., using plumbum, fabric, pexpect, subprocess), but you shouldn't in most cases.

In bash, you have to use commands for most things. In Python, you don't.

For example, `curl ... | jq ...` shell pipeline would be converted into requests/json API in Python.

There are no comments on this comment yet.