Sublime Text 3 运行python

{
    "cmd":["python.exe", "-u", "$file"],
    "path":"D:/Python/Python37",   // 注意:路径根据自己的python安装路径而定
    "file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
    "selector": "source.python",
    "encoding": "cp936"
}

保存为:Python.sublime-build

你可能感兴趣的:(Sublime Text 3 运行python)