blob: e53ed998eb6804d54e4e27a4062f3fd5ffb95360 (
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"))
|