Python IDE
Tags: python, beginners
Published: 2020-03-03 13:27:04

This article recommends several good **Python IDEs**. IDE is short for <a href="https://en.wikipedia.org/wiki/Integrated_development_environment">Integrated Development Environment</a>, a desktop application for programming. 

Often recommended is the PyCharm IDE, but of course, you can choose according to your preferences. The IDEs have different features and create for a different programming experience.

Some developers <a href="https://pythonbasics.org/execute-python-scripts/">run Python in terminal</a> (from Emacs/Vim), but in many jobs an IDE is obligatory.

## PyCharm

<a href="https://www.jetbrains.com/pycharm/">PyCharm</a> by JetBrains, a Python IDE.

PyCharm with general **Python IDE** features, such as: debugging, syntax highlighting, project management, code branches, IntelliSense, auto-complete, unit testing, version control.

In addition, PyCharm also offers some nice features for Django development, and support Google App Engine, cooler is that, PyCharm supports IronPython.

Download: [http://www.jetbrains.com/pycharm/download/] (//www.jetbrains.com/pycharm/download/)

![pycharm ide](https://dev-to-uploads.s3.amazonaws.com/i/xqj6938gdc5tvipghbpe.png)

## Sublime Text 

<a href="https://www.sublimetext.com/">Sublime Text</a> has a nice user interface and powerful features, such as code thumbnails, Python plug-ins, and other code segments. You can also customize the key bindings, menus and toolbars.

The main features include Sublime Text: Spell checking, bookmarks, full Python API, Goto function, real-time project switching, multi select, multi-window, and so on.

Sublime Text is a cross-platform editor that supports Windows, Linux, Mac OS X and other operating systems.

![sublime text python ide](https://dev-to-uploads.s3.amazonaws.com/i/jwob5vb9mz4xc3dibrks.jpg)

Use Sublinme Text plug-in extensions, you can easily build a good Python IDE, the following several plug-in are recommended (you can find more):

* CodeIntel: auto-complete + member / method prompts (highly recommended)
* Bracket Highlighter: Highlight matching brackets 
* SublimeLinter: Check the format of the code pep8

## Eclipse + Pydev

### 1, install Eclipse

Eclipse can be found at its official website [Eclipse.org] (https://eclipse.org/) and download, we can usually choose their own version of Eclipse, such as Eclipse
Classic. After the download is complete extract to the directory you want to install to.

Of course, before executing Eclipse, you must make sure to install the Java Runtime Environment, which must be installed JRE or JDK, find the JRE download and install.

### 2, mounted Pydev

After running Eclipse, then 

* select help -> Install new Software
* Click Add, add pydev installation address: [http://pydev.org/updates/] (https://pydev.org/updates/)
* When finished, click "ok", PyDev then click the "+", expand the node PyDev, and to wait for a short time, 
 let it get PyDev related packages from the Internet, when completed will be more relevant in the sub-node packages PyDev in , are then checked by the next installation.

After installation is complete, you can restart Eclipse

### 3, setup Pydev

After installation, you need to set it PyDev, select Window ->
Preferences to set PyDev. Set Python path from Pydev of Interpreter - Select New Python page

![pydev python](https://dev-to-uploads.s3.amazonaws.com/i/4a64surm5ll66aaohr3j.gif)

A window will pop up to let you choose the installation location of Python, select the location where you installed Python.
After completing PyDev setting is finished, you can start using it.

### 4, the establishment of Python Project:

After installing Eclipse + PyDev, we can begin to use it to develop the project. First create a project, choose File -> New -> Pydev Project

![new pydev prj](https://dev-to-uploads.s3.amazonaws.com/i/g7oo5w4ae9oo9oltgrz2.gif)

A new window will pop up, fill in the Project Name, address and save the project, and then click Create next to complete the project.

![project name](https://dev-to-uploads.s3.amazonaws.com/i/nfoapxbjg1k5ara8e70z.gif)

### 5, to create a new Pydev Module

Light items can not be carried out, then you must create a new Pydev Moudle, select File -> New -> Pydev Module

![new pydev module](https://dev-to-uploads.s3.amazonaws.com/i/d9lj3pc2sxy7bd4a0yqb.gif)

In the pop-up window, select the file location and Module Name, Name Note do not add .py, it will automatically help us to add. Then click Finish to complete the creation.

![popup pydev module](https://dev-to-uploads.s3.amazonaws.com/i/39di82vs23a9q9xuxh5h.gif)

Enter "hello world" code.

![eclipse python hello world](https://dev-to-uploads.s3.amazonaws.com/i/xvcjik02ngibw79ed4bf.png)

### 6, program execution

After the program finished, we can begin to execute the program, find the button to execute the above toolbar above.

![program execution](https://dev-to-uploads.s3.amazonaws.com/i/tsjbcu4oeqjvalbrhxg1.png)

After a pop up to let you choose the way of implementation of the window, we usually choose Python Run, to start the program.

![eclipse run python](https://dev-to-uploads.s3.amazonaws.com/i/k9bykd55d4ijmq0gr3v6.gif)

## more Python IDE

There are many great Python IDE, you are free to choose, more <a href="https://pythonprogramminglanguage.com/python-ide/">Python IDEs</a>

**Related links:**
* <a href="https://stackoverflow.com/questions/81584/what-ide-to-use-for-python">Python IDE comparison table</a>
* <a href="https://pythonbasics.org/getting-started/#PythonIDE">What is an IDE</a>