slackbuilds_ponce/python/python-sh/README
Larry Hajali b537882257
python/python-sh: Updated for version 1.12.2
Signed-off-by: Larry Hajali <larryhaja[at]gmail[dot]com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2016-12-03 07:21:54 +07:00

12 lines
322 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
Note: Pass PYTHON3=yes to the slackbuild for pyhton 3 support.
# PYTHON3="yes" ./python-sh.SlackBuild