Programming Python with Sublime Text and Kite

Musaddiq Al Ali (Ph.D.)
3 min readAug 12, 2020

--

sublime text editor is gaining a lot of good reviews for both windows and linux users. In this guide we will install it for and configure it for python users on windows OS, then we will install AI assistant tool named Kite.

First Click here to download it directly for windows 10–64bit

Install it. It is straight forward process as shown in the following picture guide

Sublime Integration with python will done by creating package file as follows

  • open package installed folder. It is been placed in the following location
C:\Users\DeepLearningUser\AppData\Roaming\Sublime Text 3\Packages\User
  • create text file with the following text inside it specify the location of the python version you want to use. It is possible to use python installation from other environments (such as anaconda) ins side sublime.

In this example, my python.exe path which I will use is in the path :

C:\\Users\\DeepLearningUser>\\AppData\\Local\\Programs\\Python\\Python36\\python.exe

Now, just put in the following form:

{
"cmd":["C:\\Users\\DeepLearningUser>\\AppData\\Local\\Programs\\Python\\Python36\\python.exe", "-u", "$file"],
"file_regex": "^[ ]File \"(...?)\", line ([0-9]*)",
"selector": "source.python"
}

it should be as the the following picture

  • Save it with any name with the following extension (.sublime-build)
Example:-python36-build.sublime-build
  • Save it now.
  • open sublime text editor and go to tool>>build and chose your build environment

Now you will be able to run python program after writing it and save as .py file.

to run the program, just press ctrl+B in the text editor and it will run the program

Installing good AI assistance Kite

I recommend to watch this demo for kite and how to deal with it.

Enter the site of kite or click here to download windows version directly

After a while it will show the registration window which you can do it for free

Sublime and Kite are functioning for free. You can buy the full version of them for cheap price. Now we conclude our guide for today. enjoy AI, and see you very soon.

--

--

Musaddiq Al Ali (Ph.D.)
Musaddiq Al Ali (Ph.D.)

Written by Musaddiq Al Ali (Ph.D.)

0 Followers

Specialized in structural optimization and laser physics

No responses yet