用sublime编写调试python还是很方便的,CTRL+B直接就可以运行。但有一个问题就是使用CTRL+B运行python时不能进行交互,这时候需要安装一个插件来解决。
1. 安装SublimeREPL插件
2. 安装成功之后依次选择 Tools >> SublimeREPL >> Python >> Python - RUN current file 来运行ptyhon就可以使用交互了
3. 但是这样使用起来并不方便,可以把它驾到快捷键里。Preferences >> KeyBindings
    { "keys": ["f5"], "caption": "SublimeREPL:Python", 
                      "command": "run_existing_window_command", "args":
                      {
                           "id": "repl_python_run",
                           "file": "config/Python/Main.sublime-menu"
                      } 
    }然后使用f5就可以运行python并进行交互。