sublime 下与python交互
本版本无法采用自动安装模式,只能采用直接下载包的方式;
在GitHub上下载,网址为
https://github.com/wuub/SublimeREPL,点击右栏的DOWNLOAD ZIP 下载到电脑,然后解压到安装目录下的Data\Packages下。
在sublime下,
通过选项Tools->SublimeREPL->Python就可以看到效果了。
关于键位绑定:
尝试了下,未成功,先记录下。
F1键命令行:
打开Preferences->Key Bindings-User,复制如下代码:
{"keys":["f1"],
"caption": "SublimeREPL: Python",
"command": "run_existing_window_command", "args":
{"id": "repl_python",
"file": "config/Python/Main.sublime-menu"}}
F2键编译代码
{"keys":["f2"],
"caption": "SublimeREPL: Python - RUN current file",
"command": "run_existing_window_command", "args":
{"id": "repl_python_run",
"file": "config/Python/Main.sublime-menu"}}
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/29519108/viewspace-2133686/
,如需转载,请注明出处,否则将追究法律责任。