blob: 5d7ae670f6dd938f77b08483c7a1c8b78302cac7 (
plain)
1
2
3
4
5
6
|
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"))
|