发布时间:2019-09-23 17:06:55编辑:auto阅读(2313)
使用os
import os result = os.popen("ipconfig") print (result.read())
这种方式有返回值,因而使用起来较为方便
上一篇: 知名技术作家分享Python零基础教程!
下一篇: python中event事件应用举例
52687
52599
42735
39612
33997
30961
29756
24647
24489
22867
217°
225°
294°
278°
312°
467°
449°
462°
537°
457°