Python/SublimeText

From Wiki
< Python
Revision as of 13:24, 13 February 2018 by Marcluer (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Install

Python3 build system

  • Tools > Build System > New Build System (save as Python3.sublime-build)
{
    "cmd": ["python3", "-i", "-u", "$file"],
    "file_regex": "^[ ]File \"(...?)\", line ([0-9]*)",
    "selector": "source.python"
}


Key bindings

  • Preferences > Key Bindings
[
	    	{ "keys": ["ctrl+escape"], "command": "cancel_build" },
]