Python/SublimeText

From Wiki

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" },
]