摘要: os.system('cat /proc/cpuinfo') 无法获得到输出和返回值的 output = os.popen('cat /proc/cpuinfo')print output.read() 返回的是 file read 的对象,对其进行读取 read() 的操作可以看到执行的输出 di 阅读全文