slackbuilds/python/python-sh
Larry Hajali 1517f6e96e python/python-sh: Updated for version 1.12.6
Signed-off-by: Larry Hajali <larryhaja[at]gmail[dot]com>
2016-12-04 19:28:55 +00: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.6 2016-12-04 19:28:55 +00:00
python-sh.info python/python-sh: Updated for version 1.12.6 2016-12-04 19:28:55 +00:00
slack-desc python/python-sh: Added (subprocess interface for Python) 2012-12-11 16:21:59 -05:00

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