Using Multiple Versions of Python with Sublime Text 3

Programming

 

Note: This post is strictly about setting up Sublime Text 3 to build and run Python scripts with multiple versions of Python installed. IDE’s such as PyCharm are outside the scope of this topic.

One of the most irritating things about coding Python or other interpreted languages in a text editor is the lack of ability to build or run the program. Programming in a text editor like Notepad or similar requires the use of multiple applications to create and test your code. For instance, you need to have your editor open to write your code and a console of your choice to run and test the code. This can be a bit of a pain to a programmer’s workflow, constantly switching back and forth and entering commands to see a result.