Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Options---> Hotkeys. And write the code there:
{ "keys": ["ctrl+b"], "command": "repl_open",
"caption": "Python - RUN current file",
"id": "repl_python_run",
"mnemonic": "d",
"args": {
"type": "subprocess",
"encoding": "utf8",
"cmd": ["python", "-i", "-u", "$file_basename"],
"cwd": "$file_path",
"syntax": "
The sublime, as far as I know, has such a jamb - the built-in builder does not know how to work interactively. The bottom panel only displays the output, but does not send the input back to the executable code. Therefore, the running program will stupidly hang in the background waiting for data... It seems that there are solutions, but it is better to use third-party packages, such as SublimeREPL or Terminus (which, by the way, is much more convenient - it adds a full-fledged command terminal to the sublime, but you need to delve into it to set it up)
And what is actually wrong? Is the console throwing an error?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question