工具 -> 编译系统 -> 新编译系统
{
"cmd": ["python","-u","$file"],
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
"selector": "source.python",
"encoding": "cp936"
}
用上面的代码替换掉"shell_cmd": "make"
, 保存当前配置文件为: "python_支持中文.sublime-build
", 然后在工具->编译系统->选择 "python_支持中文"
网友评论