发布时间:2019-09-23 17:06:55编辑:auto阅读(1988)
使用os
import os result = os.popen("ipconfig") print (result.read())
这种方式有返回值,因而使用起来较为方便
上一篇: 知名技术作家分享Python零基础教程!
下一篇: python中event事件应用举例
50153
49425
40073
37105
31509
28348
27298
22090
22050
20387
616°
452°
442°
634°
579°
1180°
2221°
2049°
1599°
3244°