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"
}
posted @ 2014-11-04 22:44  dream_young  阅读(232)  评论(0编辑  收藏  举报