1. 打开Sublime Text 3,依次进入new build system菜单。
2. 点击菜单后,会生成一个空配置文件。我们需要在这个配置文件内覆盖配置信息。配置部分代码如下。
{
"cmd": ["D:/Python27/python.exe","-u","$file"],
"file_regex": "^[ ]*File \"(...*?)\",line ([0-9]*)",
"selector": "source.python"
}
{
"cmd": ["D:/Python27/python.exe","-u","$file"],
"file_regex": "^[ ]*File \"(...*?)\",line ([0-9]*)",
"selector": "source.python"
}
3.