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

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM