摘要:
在Python中有一个模块commands也很容易做到以上的效果.看一下三个函数:1). commands.getstatusoutput(cmd)用os.popen()执行命令cmd, 然后返回两个元素的元组(status, result),其中 status为int类型,result为strin 阅读全文
posted @ 2019-02-10 15:16
liuhongli
阅读(3465)
评论(0)
推荐(0)
2019年2月10日