最近需要用到os.system 發現不能賦值到變量
后查有更新的模塊,如下:
os.system
os.spawn*
os.popen*
popen2.*
commands.*
重新使用content=os.popen(‘help’).read()
就能獲取到了
最近需要用到os.system 發現不能賦值到變量
后查有更新的模塊,如下:
os.system
os.spawn*
os.popen*
popen2.*
commands.*
重新使用content=os.popen(‘help’).read()
就能獲取到了
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。