For example, in this tutorial, we have saved the file with the extension project.py. It is important to save yours with this extension or else you will not be able to execute the Python code. Step 1: To start running Python codes on Sublime text, you can start by creating a new Python file with a code, for example, print(“Hello World”) and save it with the extension. But for you to understand it better, we have explained it in detail below.Ĭheck Python Big Data Analytics Courses here! 2. You can build your own builder or use any plugin if you want to run codes at your own terminal but are blocked by some error in the console. You will have to again navigate to Tools and choose the Build System option. Sublime code will run your Python code inside the integrated console when you type Ctrl + B if you are using Windows. Setting Up Python Code On Sublime Text 3 1. Read through to not only know more about running Python codes in Sublime 3, but also to know how it is done in a simple and easy manner.Ĭheck out What are the best learning sites for Python here. In this article, we have put together a step-by-step guide that will help you in using Sublime 3 to run Python codes easily. If you are a programmer and you are not running your preferred version of Python, you can use Sublime Text 3 to run Python codes in your preferred version. Sublime Text 3 is also a preferred method to run Python codes than most of the IDE editors because of its ability to enhance its functionality by not only creating custom settings but also, by using Package control. Learning how to run Python Code on Sublime Text 3 is efficient because it is not only one of the most practical ways of running Python code, but Sublime3 is also a widely used, cross-platform code editor.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |