sublime Text 3 中,执行 python 代码无法输入

先安装 sublime REPL, 然后在用户自定义的键绑定中更新为以下代码:

[
    { "keys": ["super+shift+r"], "command": "repl_open", 
                 "caption": "Python",
                 "mnemonic": "p",
                 "args": {
                    "type": "subprocess",
                    "encoding": "utf8",
                    "cmd": ["python", "-i", "-u", "$file"],
                    "cwd": "$file_path",
                    "syntax": "Packages/Python/Python.tmLanguage",
                    "external_id": "python"
                    } 
    }
]

 来自 stackoverflow

posted @ 2015-08-11 13:04  wu_overflow  阅读(718)  评论(0编辑  收藏  举报