SublimePython 运维Pythoner集中营

在sublimeREPL中修改python解释器版本

2016-09-06  本文已影响1649人  HiCathy

SublimeREPL是Sublime Text的一个插件,它除了可以使你在ST中运行解释器(REPL),还有对Python语言的特别支持,包括在本地/远程(远程仅在linux/osx平台可用)virtualenv中启动Python,快速运行选中的代码或者启动PDB等”

最近用sublime Text3搭了一个简单的python IDE,发现SublimeREPL默认的版本是python2.7,而我的电脑同时装了python2.7 和 python3.5两个版本,那么如何让SublimeREPL支持python3.5版本呢?

配置步骤如下:

4.png 6.png
{
"caption": "SublimeREPL: Python",
"command": "run_existing_window_command", "args":
{
"id": "repl_python",
"file": "config/Python/Main.sublime-menu"
}
},

改成

{
"caption": "SublimeREPL: Python3.5",
"command": "run_existing_window_command", "args":
{
"id": "repl_python3.5",
"file": "config/Python3.5/Main.sublime-menu"
}
},
上一篇 下一篇

猜你喜欢

热点阅读