发布时间:2019-09-23 17:06:55编辑:auto阅读(2604)
使用os
import os result = os.popen("ipconfig") print (result.read())
这种方式有返回值,因而使用起来较为方便
上一篇: 知名技术作家分享Python零基础教程!
下一篇: python中event事件应用举例
54705
41480
36073
31551
26449
26154
24676
20266
16227
15646
2683°
2432°
2536°
2671°
2623°
2850°
2768°
2610°
2635°
2611°