Ubuntu下给Sublime Text 3添加用python3运行文件

Ubuntu14.04:

菜单栏:Tools-Build System-New Build System

1 {
2     "cmd": ["python3", "-u", "$file"],
3     "path": "/usr/bin",
4     "file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
5     "selector": "source.python"
6 }

保存为:Python3.sublime-build

Tools-Build System选择新增加的Python3

posted @ 2015-10-15 12:00  jakey.chen  阅读(558)  评论(0编辑  收藏  举报