How to run python codes in sublime text editor

Siva Santosh S
2 min readJun 13, 2020

--

The first thing to run a python code in sublime text editor, is to install the sublime text editor, which we may get from the official website of sublime. I’m leaving a link here, https://www.sublimetext.com/3 download the required version depending upon your OS and your system configuration.

Once the above step is done, write a piece of code and save it with the extension of (.py format). Now if you observe it clearly the color of your font changes. Here, in my case I saved the file with test.py name.

Image of python code without saving it
After saving the file with an extension .py (after the filename)

The additional tip, before running the code make sure you had made these changes

Set it to python

Shortcut to run the code: one can run the code by simply typing CTRL + B.

Sneak peak of above code:

--

--

Siva Santosh S
Siva Santosh S

Written by Siva Santosh S

0 Followers

2.5 years, experienced ML Engineer & thriving analyst with the ability to apply ML techniques & Statistical approaches to solve real-world business problems.

No responses yet