4 points · by alexander996 · 10y ago · 3 comments
from sh import ifconfig print(ifconfig("wlan0"))
For shellpy
p`ifconfig wlan
shellpy/README.md at master · lamerman/shellpy
A tool for convenient shell scripting in python. Contribute to lamerman/shellpy development by creating an account on GitHub.
GitHub