发布时间:2019-09-23 17:06:55编辑:auto阅读(2047)
使用os
import os result = os.popen("ipconfig") print (result.read())
这种方式有返回值,因而使用起来较为方便
上一篇: 知名技术作家分享Python零基础教程!
下一篇: python中event事件应用举例
51037
50430
41032
37898
32365
29258
28140
22981
22943
21270
1143°
1848°
1502°
1434°
1716°
1525°
2181°
3766°
3683°
2597°