发布时间:2019-09-23 17:06:55编辑:auto阅读(2062)
使用os
import os result = os.popen("ipconfig") print (result.read())
这种方式有返回值,因而使用起来较为方便
上一篇: 知名技术作家分享Python零基础教程!
下一篇: python中event事件应用举例
51258
50698
41296
38116
32577
29482
28341
23202
23168
21498
1573°
2288°
1899°
1839°
2150°
1882°
2572°
4310°
4159°
2967°