A quick tutorial on how to run either a Python 2.7 script or a Python 3.5 script using Sublime Text 3.
The contents of the sublime-build file are:
{
"cmd": ["/usr/bin/python3", "$file"],
"selector": "source.python",
"file_regex": "file \"(...*?)\", line([0-9]+)"
}
If you are using either Mac or Windows, instead of using the "whereis" command to find your installation path to Python, you can just run the following script, which will output the path to where Python is installed on your machine:
```
import os
import sys
os.path.dirname(sys.executable)
```
Website:
http://vprusso.github.io/