slackbuilds_ponce/python/python-sh/README
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

6 lines
186 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"))