SoFunction
Updated on 2024-11-19

Detailed tutorial on configuring Python environment in Sublime Editor

Learn how toInstall the python package in the sublime editor to Implement features like autocomplete and run builds in the sublime editor itself.

Installing Sublime Package Control

First download the package control for the sublime editor.

Go to URL: https : ///installation#st3

Sublime Packaging Control

Now make a note of the location of the folder in Sublime Editor where the package is installed. You can do this by clicking thePreferences>Browse Packages to find the location.

Browse Packages

Click the "Package -package" link.save (a file etc) (computing) Control the site from the packageDownloaded files and will bePut it in the folder from step 2

Now**.By closing the Sublimation Editornext Reboot** it and turn it back on again.

To verify that the package controls are properly installed, click the " **Preferences"> "Package Controls "** menu item. It should open the Program Package Controls window.

Packaging Control Menu

Install the package Python 3

Now to install any package support, including Python packages, go to **"Preferences"> "Package Control "** and select "Install the package"

Install Package Window

In the window that opens, theType "python" to filter only the Related to pythonThe list of packages for the

Select the Python packages to install

Wait a few seconds for the Python package to install into the editor.

Verifying Python autocompletion and builds

To verify python support, againRestarting the IDE . Create a file named name . Enter some simple commands such asprint . ItAutocomplete should be turned on Windows.

Now type the simple hello world code and then typeCTRL + B keyborad. it will open the Output Output window in the bottom pane, and will be in the FileShow command generation ofexports

Sublime build output

Now you can create and build python programs using the sublime editor.

This article on the Sublime Editor in the configuration of the Python environment detailed tutorials on the article is introduced to this, more related Sublime configuration Python environment content, please search for my previous articles or continue to browse the following related articles I hope you will support me in the future more!