三一文和

导航

 

2015年12月5日

摘要: 执行系统命令可以执行shell命令的相关模块和函数有:os.systemos.spawn*os.popen* --废弃popen2.* --废弃commands.* --废弃,3.x中被移除import commandsresult = commands.getoutput('... 阅读全文
posted @ 2015-12-05 11:42 三一文和 阅读(162) 评论(0) 推荐(0) 编辑