发布时间:2019-09-23 17:06:55编辑:auto阅读(2531)
使用os
import os result = os.popen("ipconfig") print (result.read())
这种方式有返回值,因而使用起来较为方便
上一篇: 知名技术作家分享Python零基础教程!
下一篇: python中event事件应用举例
54410
41164
35690
31261
26165
25880
24366
19913
15955
15400
2260°
2074°
2167°
2280°
2250°
2458°
2399°
2210°
2289°
2265°