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