摘要: 注意注意注意: res=subprocess.Popen(cmd.decode('utf-8'),shell=True,stderr=subprocess.PIPE,stdout=subprocess.PIPE) 的结果的编码是以当前所在的系统为准的,如果是windows,那么res.stdout. 阅读全文
posted @ 2018-01-29 20:46 Ebola 阅读(301) 评论(0) 推荐(0) 编辑