{
"cmd":["python.exe", "-u", "$file"],
"path":"D:/Python/Python37", // 注意:路径根据自己的python安装路径而定
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
"selector": "source.python",
"encoding": "cp936"
}
保存为:Python.sublime-build
{
"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
本文链接:https://www.haomeiwen.com/subject/cbujzftx.html
网友评论