from sh import ifconfig
print(ifconfig("wlan0"))
详见
http://amoffat.github.io/sh/
转载于:https://blog.51cto.com/jianshusoft/1440375
from sh import ifconfig
print(ifconfig("wlan0"))
详见
http://amoffat.github.io/sh/
转载于:https://blog.51cto.com/jianshusoft/1440375