robsnider
5/15/2018 - 2:57 AM

Python 3 in Sublime Text 3

Build with Python 3

From https://stackoverflow.com/questions/23730866/set-up-python-3-build-system-with-sublime-text-3#23741296

{
    "cmd": ["/usr/local/bin/python3", "-u", "$file"],
    "file_regex": "^[ ]*File \"(…*?)\", line ([0-9]*)",
    "selector": "source.python"
}

and save it as a file called Python.sublime-build or python3.sublime-build