sublime 中配置 python 运行

运行是按快捷键 ”ctrl + B“

Preferences-》Browse Packages-》Python-》Python.sublime-build 编辑这个文件。
 
修改成:
 
{
"cmd": ["python", "-u", "$file"],
"path":"python的安装路径(路径只要指定到文件夹)",
"file_regex": "^[ ]*File "(...*?)", line ([0-9]*)",
"selector": "source.python"
}
Stay hungry, Stay foolish, Life is always tough, Be brave!
原文地址:https://www.cnblogs.com/kinyoung/p/4075080.html