2012-12-09 17:01:00 +01:00
|
|
|
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"))
|
2015-01-01 01:22:59 +01:00
|
|
|
|
|
|
|
Optional dependency: python3
|