标签:command class one imp com ddr add and col
import commands
cmd = "ifconfig br0 | grep ‘inet addr‘ | sed ‘s/^.*addr://g‘ |sed ‘s/ Bcast:.*$//g‘"
(status, ip) = commands.getstatusoutput(cmd)
标签:command class one imp com ddr add and col
原文地址:https://www.cnblogs.com/sea-stream/p/9939569.html