slackbuilds_ponce/python/python-sh/README

7 lines
186 B
Text
Raw Normal View History

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