slackbuilds_ponce/python/python-sh
Larry Hajali ba72f6af14 python/python-sh: Added (subprocess interface for Python)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
2012-12-11 16:21:59 -05:00
..
python-sh.info python/python-sh: Added (subprocess interface for Python) 2012-12-11 16:21:59 -05:00
python-sh.SlackBuild python/python-sh: Added (subprocess interface for Python) 2012-12-11 16:21:59 -05:00
README python/python-sh: Added (subprocess interface for Python) 2012-12-11 16:21:59 -05:00
slack-desc python/python-sh: Added (subprocess interface for Python) 2012-12-11 16:21:59 -05:00

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"))