slackbuilds/python/python-sh
Larry Hajali f390f0ef84 python/python-sh: Updated for version 1.12.11
Signed-off-by: Larry Hajali <larryhaja[at]gmail[dot]com>
2017-03-18 06:59:23 +07: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.11 2017-03-18 06:59:23 +07:00
python-sh.info python/python-sh: Updated for version 1.12.11 2017-03-18 06:59:23 +07: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