今天尝试用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"}