Python Editor comparison and recommendations
Let me give you a preliminary form, if you have any comments, or if you have any suggestions, please ask. Some I have not used, first do not write.
Here are the Python ides I used:
In addition to Pythonwin, Visualpython only supports Windows, while others support at least win/linux/mac.
The meanings:
Auto Completion: When the variable/function name hits half, the possible full variable/function name is indicated.
IntelliSense: Hit after library/class/object. , you are prompted for possible functions or variables.
Debugging: Four gears, from good to bad with the "Class VC" (Debugger operation mode and Vc/eclipse similar), "wpdb" (using winpdb as a debugger), "with the Library" (to cooperate with the specialized Python debugging library, that is to change the code to match debugging), the most miserable of course is "none".
Grammar check: From good to bad with the "automatic" (after writing a line to check a line), "Save" (automatic check when saving, you can also manually select Check in the menu), "Manual" (select Check in the menu), "None" (No grammar check function)
Common python development, just want to choose a function and interface are good IDE, recommended with Eclipse+pydev.
The benefit is that you learn more about eclipse, because it's powerful enough to be used as an IDE for many other languages.
For certain areas of application:
If the main use of Python to do QT -related development, it is recommended to use Eric;
If you are primarily interested in developing Web -related, consider pycharm or Aptana Studio 3
If just plain write Python script, can use I now choose: notepad++ plus cmd, it's enough
Introduction to each IDE and (note the last modified this article was January 2010):
IDLE:
Python will have this, you must have used, the function is also good, the use of the debugger and everyone familiar with the Eclipse/visual studio is very different, need to learn and adapt. The performance is general. Recommended Degree: ★
Download: Python is available, no special download.
Download Python please go to http://www.python.org/ftp/python/
Pythonwin:
The built-in Win32 Extension,pythonwin is a must-have tool for Win32 Python program developers. Although it can only run under win, but in fact is open source. Functionally, it can be thought of as an idle with auto-completion and IntelliSense, although it's a good lightweight Python IDE compared to some other complex ides. Recommended degree ★
Download: http://starship.python.net/crew/mhammond/win32/Downloads.html
Spe:
Full name Stani ' s Python Editor. Quite good IDE, syntax highlighting, code folding, IntelliSense, automatic grammar check and other functions are readily integrated wxglade. Unfortunately, there is no auto-complete function. Open source, you can use SVN download to the latest source code, relying on Wxpython. But it hasn't been updated (the last update was in February 2008), riding, behind, has no advantage over other Ides. Recommended degree ★★★★
Download: There are always people who say no to SPE, go here to see:
http://developer.berlios.de/project/showfiles.php?group_id=4161
SVN mode Download:
Http://pythonide.blogspot.com/2007/02/how-to-download-latest-spe-from_26.html
Ulipad:
Formerly known as Newedit, it is more convenient than SPE to have auto-complete functionality compared to SPE, but does not integrate the interface designer Wxglade. Open source, you can use SVN download to the latest source code, relying on Wxpython. Lightweight, compact and powerful, ideal for beginners. Recommended degree ★★★★★.
Download: http://code.google.com/p/ulipad/downloads/list
Eric:
After Eric upgraded to 4, there was a strong improvement in all aspects, more than any other open source IDE. The use of PYQT4 as a graphics library, elegant interface, and with the Qtdesigner, making the development of GUI program becomes very convenient, than the following will be mentioned to the BOA is also useful. The biggest highlight is its debugger, which supports breakpoint settings, single-step debugging, and variable value viewing. In a word, with the Eric4, there is no need to go to churn the business of the IDE. Recommended degree ★★★★★, personal highly recommended.
ERIC4 installation under Windows There are some places to be aware of, see:
Http://hi.baidu.com/runningon/blog/item/091dd009c4c80187d1581b05.html
Boa Constructor:
Compared to SPE and Ulipad,boa, the editing function is rather thin, auto-completion and IntelliSense are manual, and there is no automatic grammar check, but the debugger is more useful. The biggest highlight is that the interface designer is quite good to use, more useful than wxglade. The mishap is not good for Chinese support. Rely on Wxpython. The IDE has not been updated for a long time, and the last update was in July 2007, so don't use it for any particular reason. Recommended degree ★.
Download:
http://sourceforge.net/projects/boa-constructor/files/
Wingide:
Very good business software, debugger is class vc/eclipse, quite useful, but also support project organization. But the default setting is not supported in Chinese, to set the font. Not open source, and the crack is not good to find. Now that you have a good open source software, why use pirated? Recommended degree ★★★★
Download (30-day trial): Http://www.wingware.com/downloads
Komodo:
Produced by ActiveState Company, the company's ActivePython and ActivePerl are quite famous. Komodo and Wingide are also very good business software, can say wingide some of the advantages of Komodo also have, very pity not auto-complete. Macro recording is also supported (similar to MS Office macro recording), but this is just a gimmick. The bad thing is that it's pretty resource-intensive, my AMD 64-bit dual-core +1g memory +5400-rpm HDD's laptop, and the hard drive flashed for a full minute when it started. Recommended degree ★★★★
Download (21-day trial): http://www.activestate.com/komodo/
Vim/emacs + plugins:
Linux I have played for several years, in all fairness these two things are not suitable for beginners (development). Linux is now more useful, not vim/emacs is not a big deal, especially the latter. Recommended degree ★.
Download: (Even hen, from a Google bar, 囧rz)
Eclipse + Pydev:
Rely on the powerful eclipse,pydev to appear particularly dazzling. The powerful debugging function and the comfortable editing environment make Pydev win the favor of many people. But eclipse is a big resource, pydev at this point, but now the computer is very fast, running eclipse is a small case, do not worry too much. In addition to the powerful debugging capabilities, the ability to rely on Eclipse,pydev code browsing is not comparable to all other Ides, such as holding down the CTRL key and clicking a class to automatically jump to the definition of the class, which is useful for reading code. Now Pydev extension also open source, so some (I do not know) advanced features are also incorporated into the Pydev. Recommended degree ★★★★★
Download: http://pydev.org/download.html
Note that Pydev can be installed online in Eclipse, please read the quick install on the right side of the page above.
VisualStudio.NET 2003 + Visualpython:
Has stopped maintenance, rotten on a word, more say useless, basically can not be used. Recommended degree ★
Download: (No more)
Summarize:
1. If you are a novice, please use Ulipad, lightweight and small and powerful.
2. If you are skilled, use the Eclipse+pydev, or (if the debug function is not high) Ulipad
3. If you are a vi/emacs madman, then I have to say more ...
4. If you want to use QT4 to write GUI programs, please use Eric. On the one hand because Eric is already pretty good, on the other hand-there is no other good choice.
5. If you want to use other graphics libraries to write GUI programs, then which IDE is the same, so please refer to 1 and 2. Summary and comparison of various Python Ides (Integrated development environments)
"Organize" "multi-figure" How to develop Python under windows: Run a python script under cmd, how to use the Python Shell (command line mode and GUI mode), how to use the Python IDE
However, there are not many introductions to the IDE aspects of Python.
Here, specially organized, various Python ides.
A variety of Python idepyscripter
"Records" Using Python's Ide:pyscripter
"Resolved" Pyscripter Startup error: Python could not is properly initialized. We must quit.
Ulipd
"Records" Using Python's Ide:ulipad
Which encounters:
"Resolved" After installing Ulipad, select Start Ulipad, results cannot start
Eclipse+pydev
Eclipse itself is an IDE, previously used primarily for Java development, and later, by adding different plugins, it also supports the development of many other languages.
For Python, this is the Pydev plugin.
So the full term is actually the eclipse of the IDE itself, plus the Pydev plugin, supported for Python development.
See:
"Records" Using Python's Ide:eclipse+pydev
These include:
Tutorial Installing Pydev in Eclipse
Tutorial Configuring the newly installed Pydev plugin in eclipse
Tutorial using Pydev for Python development in eclipse
Then there are some related optimizations and problem solving:
"Resolved" Look for the hard-to-see Chinese font in Python code in Eclipse Pydev
"Resolved" Eclipse+pydev cannot debug python:unexpected IO Exception in Pydev debugger
Aptana Studio 3
In addition, incidentally, there is a Aptana Studio 3, which is itself eclipse-based, for Python, which is used by Pydev, but primarily for web support.
For details, please refer to:
"Record" Toss IDE tool: Aptana Studio 3
One of them has encountered:
"Resolved" Aptana in Studio 3 with auto config configuration Pydev in python error: Java.io.IOException:Cannot run Program "python": CreateProcess error=2, the system cannot find the file specified
Eric
Have a chance to try, Eric, the IDE that was developed specifically for QT:
Http://eric-ide.python-projects.org/index.html
Pycharm
There are also some of the other mentioned here:
Pycharm (not Phcharm)
http://www.jetbrains.com/pycharm/
Especially suitable for web development, such as Django,gae.
But it's a charge ...
Sublime Text
Alone for sublime itself, it is essentially a text editor.
Do not know can go to reference:
"Crifan recommended" a relatively good text editor: Sublime text 2
However, because the interface is really good looking, so many people use, and then some people, found that can also be configured to support running Python code in sublime.
So, from this point of view, you can also classify sublime as a Python IDE.
Later toss the following:
"Tutorial" using sublime Text 2 as a Python IDE to implement Python development
Using Python's Ide:eclipse+pydevSome basic knowledge has been introduced before:
"Organize" "multi-figure" How to develop Python under windows: Run a python script under cmd, how to use the Python Shell (command line mode and GUI mode), how to use the Python IDE
And also toss some Python ides:
"Records" Using Python's Ide:pyscripter
"Records" Using Python's Ide:ulipad
And now I'm going to toss another Python ide:eclipse+pydev.
Eclipse+pydev Introduction
The so-called Eclipse+pydev is the Eclipse platform, plus the corresponding plug-in PyDev that is dedicated to Python development.
Pydev's official website
Online search of Pydev's official website
http://pydev.org/
(former site: http://pydev.sourceforge.net/)
See its introduction, the advantages are:
Advantages of Pydev
- Integrates with Django
- Automatic code completion
- Auto-complete with import
- Syntax highlighting
- Code Analysis
- Support to switch to definition, that is, jump to code prototype
- Refactoring?
- Instant renaming
- Debugging
- Remote debugging
- Browse by symbol (variable)
- Interactive window
- Integration of unit tests
- Code Coverage Check
Its recommended for the first time users to look at:
Http://pydev.org/manual_101_root.html
Prerequisites for installing Pydev
Pass
Http://pydev.org/download.html
In
Some prerequisites are required:
- java5+, recommended Java 6
- At least one of the following:
- Python
- Jpython
- IronPython
- At least one of the following:
- Aptana Studio 3
- Aptana Studio 2
- Eclipse 3.2-3.8/4.2
If you just use eclipse, then for Python, just install, about 40-50MB's platform Runtime Binary
Also know, through eclipse to download, actually have two address:
| Primary address (Main) |
Http://pydev.org/updates |
| Latest address (Nightly builds) |
http://pydev.org/nightly |
That is, the happy taste, you can also use the latest address.
eclipse+detailed installation and use process of the PydevInstall Eclipse
The process of downloading and using Eclipse is described in:
"Records" Download and use Eclipse
installing Pydev in Eclipse
Then refer to the tutorials of others, as well as the official website of the tutorial:
Installing with the Update site
To install Pydev in Eclipse, see the detailed procedure:
Tutorial Installing Pydev in Eclipse
Configure the Pydev in Eclipse
Then we go to configure the Pydev:
Tutorial Configuring the newly installed Pydev plugin in eclipse
using Pydev in Eclipse for Python development
Once configured, you are ready to use Pydev to develop Python:
Tutorial using Pydev for Python development in eclipse
Python Editor comparison and recommendations