您的位置:首页 > 编程语言 > Python开发

用sublime text 2 build python 遇到中文的问题

2012-07-03 23:52 330 查看
今天尝试用sublime text 2 build python文件。没想到控制台给我报这个错误:[Decode error - output not utf-8]

解决方案:

在插件的文件夹下找到python文件夹,进去、修改Python.sublime-build文件。我的操作系统为win7。

{
"cmd": ["python", "-u", "$file"],
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
"selector": "source.python",
"encoding": "cp936"
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐