1.安装pythonREPL插件
2.配置快捷键

首选项—>快捷键设置

插入代码

{ "keys":["f5"], "caption": "SublimeREPL: Python - RUN current file", "command": "run_existing_window_command", "args":{"id": "repl_python_run","file": "config/Python/Main.sublime-menu"}}