os.system os.popen() commands.getstatusoutput(cmd) (status, output) = commands.getstatusoutput('cat /proc/cpuinfo') 相关文章: