在python程序中调用shell命令,是件很酷且常用的事情……1. os.system(command) 此函数会启动子进程,在子进程中执行command,并返回command命令执行完毕后的退出状态,如果command有执行内容,会在标准输出显示。这实际上是使用C标准库函数system()实现的... Read More
posted @ 2014-07-22 11:18 thinker-lj Views(37044) Comments(0) Diggs(1) Edit