slackbuilds/python/python-sh/README

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