最近需要用到os.system 发现不能赋值到变量
后查有更新的模块,如下:
os.system os.spawn* os.popen* popen2.* commands.*重新使用content=os.popen(‘help’).read()
就能获取到了 posted on 2017-07-06 22:15 阅读( ...) 评论( ...)
本文共 1091 字,大约阅读时间需要 3 分钟。
最近需要用到os.system 发现不能赋值到变量
后查有更新的模块,如下:
os.system os.spawn* os.popen* popen2.* commands.*重新使用content=os.popen(‘help’).read()
就能获取到了转载于:https://www.cnblogs.com/ruiy/p/7128607.html