python sublime run快捷键设置

一、Ctrl+Shift+P进行插件“sublimeREPL”安装

二、打开首选项->快捷键绑定-用户,写入以下内容保存
[ { "keys": ["f5"], "caption": "SublimeREPL:Python", "command": "run_existing_window_command", "args": { "id": "repl_python_run", "file": "config/Python/Main.sublime-menu" } }, ]
三、以后运行python代码只需要按“F5”就ok了
原文地址:https://www.cnblogs.com/nali7/p/11301553.html