python中执行shell的两种方法总结 一、使用python内置commands模块执行shellcommands对Python的os.popen()进行了封装,使用SHELL命令字符 执行shell