摘要: 源码文件为utf-8格式 CODEC='utf-8';VS在“高级保存选项”中选择“UTF-8 65001”input(u'中文');print(u'中文') 阅读全文
posted @ 2015-12-29 15:57 LarryKnight 阅读(183) 评论(0) 推荐(0) 编辑
摘要: import osfrom subprocess import Popen, PIPEres = os.popen('xx.exe E:\\test\\file1 E:\\test\\file2')print res.read()ps = Popen("xx.exe E:\\test\\file1 ... 阅读全文
posted @ 2015-12-29 15:44 LarryKnight 阅读(358) 评论(0) 推荐(0) 编辑