slackbuilds_ponce/python/python-sh/README
Larry Hajali 3f4881e68b
python/python-sh: Autodetect python3
Signed-off-by: Larry Hajali <larryhaja[at]gmail[dot]com>
2020-02-01 09:00:35 +07:00

8 lines
216 B
Text

sh (previously pbs) is a full-fledged subprocess interface for Python that
allows you to call any program as if it were a function.
Eg:
from sh import ifconfig
print(ifconfig("wlan0"))
Optional dependency: python3