mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-02 13:04:42 +01:00
b537882257
Signed-off-by: Larry Hajali <larryhaja[at]gmail[dot]com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
12 lines
322 B
Text
12 lines
322 B
Text
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
|
|
|
|
Note: Pass PYTHON3=yes to the slackbuild for pyhton 3 support.
|
|
|
|
# PYTHON3="yes" ./python-sh.SlackBuild
|