slackbuilds/python/python-sh
Larry Hajali 095c3a495d python/python-sh: Updated for version 1.12.14
Signed-off-by: Larry Hajali <larryhaja[at]gmail[dot]com>
2018-09-15 19:27:15 +01:00
..
README python/python-sh: Updated for version 1.12.2 2016-12-03 07:21:54 +07:00
python-sh.SlackBuild python/python-sh: Updated for version 1.12.14 2018-09-15 19:27:15 +01:00
python-sh.info python/python-sh: Updated for version 1.12.14 2018-09-15 19:27:15 +01:00
slack-desc

README

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

Note: Pass PYTHON3=yes to the slackbuild for pyhton 3 support.

  # PYTHON3="yes" ./python-sh.SlackBuild