Saturday, November 6, 2021

sh

sh is a full-fledged subprocess replacement for Python 2.6 - 3.8, PyPy and PyPy3 that allows you to call any program as if it were a function.

It runs the binary commands on your system by dynamically resolving your $PATH, much like Bash does, and then wrapping the binary in a function. In this way, all the programs on your system are easily available to you from within Python.

https://amoffat.github.io/sh/ 

https://github.com/amoffat/sh 

No comments:

Post a Comment