slackbuilds_ponce/python/python-sh/README

9 lines
216 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"))
Optional dependency: python3