解决sublime运行python文件无法input问题

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"
                      } 
    }
]

 

posted @ 2019-03-12 15:43  itmb  阅读(1483)  评论(0编辑  收藏  举报