发布时间:2019-09-23 17:06:55编辑:auto阅读(2185)
使用os
import os result = os.popen("ipconfig") print (result.read())
这种方式有返回值,因而使用起来较为方便
上一篇: 知名技术作家分享Python零基础教程!
下一篇: python中event事件应用举例
51931
51705
42021
38860
33346
30315
28958
23971
23885
22252
383°
2590°
3261°
2714°
2702°
3436°
2657°
3499°
5771°
5545°