Python Ide
# Python IDE
## Python2.x Python IDE
This article recommends several excellent **Python IDEs** (Integrated Development Environments). PyCharm is highly recommended, but you can choose a Python IDE that suits your preferences.
* * *
## PyCharm
PyCharm is a Python IDE developed by JetBrains.
PyCharm includes all the standard features of a **Python IDE**, such as debugging, syntax highlighting, project management, code navigation, intelligent code completion, unit testing, version control, and more.
Additionally, PyCharm offers excellent features for Django development, supports Google App Engine, and even supports IronPython.
Official PyCharm download link: [http://www.jetbrains.com/pycharm/download/](http://www.jetbrains.com/pycharm/download/)
Screenshot:
!(#)
* * *
## Sublime Text
Sublime Text features a beautiful user interface and powerful functionality, such as code minimaps, Python plugins, code snippets, and more. It also allows custom key bindings, menus, and toolbars.
Key features of Sublime Text include: spell checking, bookmarks, a complete Python API, Goto functionality, instant project switching, multi-selection, multi-window support, and more.
Sublime Text is a cross-platform editor that supports Windows, Linux, Mac OS X, and other operating systems.
!(#)
Using Sublime Text 2's plugin extension capabilities, you can easily create a great Python IDE. Here are a few recommended plugins (you can find more):
* CodeIntel: Auto-completion + member/method hints (highly recommended)
* SublimeREPL: For running and debugging interactive programs (e.g., programs using Input())
* Bracket Highlighter: Bracket matching and highlighting
* SublimeLinter: Code PEP8 format checking
* * *
## Eclipse+Pydev
### 1. Install Eclipse
Eclipse can be found and downloaded from its official website [Eclipse.org](http://eclipse.org/). You can typically choose an Eclipse version that suits you, such as Eclipse Classic. After downloading, simply extract it to your desired installation directory.
Before running Eclipse, you must ensure that the Java Runtime Environment (JRE or JDK) is installed. You can download and install JRE from [http://www.java.com/en/download/manual.jsp](http://www.java.com/en/download/manual.jsp).
### 2. Install Pydev
After running Eclipse, select Help --> Install New Software, as shown in the image below.
!(#)
Click "Add" to add the Pydev installation URL: [http://pydev.org/updates/](http://pydev.org/updates/), as shown in the image below.

After clicking "OK", click the "+" next to PyDev to expand its nodes. Wait a short time for it to fetch the relevant PyDev packages from the internet. Once complete, the PyDev packages will appear under the sub-nodes. Select them and click "Next" to proceed with the installation. As shown in the image below.
!(#)
After installation is complete, restart Eclipse.
### 3. Configure Pydev
After installation, you need to configure PyDev. Select Window -> Preferences to set up PyDev. Set the Python path by selecting "New" on the Interpreter - Python page under PyDev.
!(#)
A window will pop up asking you to select the Python installation location. Choose the directory where you installed Python.
!(#)
Once completed, PyDev is configured and ready to use.
### 4. Create a Python Project:
After installing Eclipse+PyDev, you can start using it for development. First, create a project by selecting File -> New -> Pydev Project.
!(#)
A new window will pop up. Fill in the Project Name and the project save location, then click "Next" to complete the project creation.
!(#)
### 5. Create a New Pydev Module
A project alone cannot be executed; you must create a new Pydev Module. Select File -> New -> Pydev Module.
!(#)
In the pop-up window, select the file location and Module Name. Note that you do not need to add ".py" to the name; it will be added automatically. Then click "Finish" to complete the creation.

Enter the "hello world" code.
!(#)
### 6. Run the Program
After writing the program, you can start executing it. Find the run button on the toolbar at the top.
!(#)
A window will pop up asking you to select the execution method. Typically, choose "Python Run" to start executing the program.

* * *
Top 10 Best Python IDEs: [
There are also many other excellent Python IDEs; you can choose freely. For more Python IDEs, please refer to: [http://wiki.python.org/moin/PythonEditors](https://wiki.python.org/moin/PythonEditors)
YouTip