I found keymap code from website to use REPL.
However, it doesn’t work.
Please help me how I have to change my keymap to use REPL.
Symtoms)
Whatever code I write and execute, it is only shown “Python
Repl Closed”. It doesn’t show my code result.
Keymap I used)
[
{
"keys" : ["f5"],
"command" : "repl_python_run",
"caption" : "Python - RUN current file",
"mnemonic" : "R",
"args" : {
"type" : "subprocess",
"encoding" : "utf8",
"cmd" : ["python3", "-u", "$file_basename"],
"cwd" : "$file_path",
"syntax" : "Packages/Python/Python.tmLanguage",
"external_id" : "python",
"extend_env" : {"PYTHONIOENCODING" : "utf-8"}
}
}
]