1. sublime中运行
Ctrl+shit P 搜索 install package进行安装
2.package插件管理工具安装成功后,搜索
SublimeREPL(回车安装)
3.SublimeREPL安装成功后接着执行
Tools =>SublimeREPL=>Python=>python - RUN current file
4.设置快捷键运行input
Preferences=>key Bindings=>插入以下code
[ { "keys": ["f5"], "caption": "SublimeREPL:Python", "command": "run_existing_window_command", "args": { "id": "repl_python_run", "file": "config/Python/Main.sublime-menu" } }]