运行是按快捷键 ”ctrl + B“
Preferences-》Browse Packages-》Python-》Python.sublime-build 编辑这个文件。
修改成:
{
"cmd": ["python", "-u", "$file"],
"path":"python的安装路径(路径只要指定到文件夹)",
"file_regex": "^[ ]*File "(...*?)", line ([0-9]*)",
"selector": "source.python"
}