An IDE (Integrated Development Environment) is one of the best tools a programmer can wield. It allows developers to work efficiently and forget about the boilerplate.
While some programmers scoff at the idea of using anything more than a text editor, when you are working on a very big project consisting of many files, an IDE will have features that will make your life as a developer much easier.
Some features you can expect a good IDE to have are:
- Code completion
- Syntax highlighting
- Templates for common code
- Source Control support (eg. Subversion, Mercurial or Git)
Let's see which Python IDE's are the best and how they stack up against each other.
Eclipse with PyDev
PyDev's Official Site: http://pydev.org/
Eclipse is a very versatile IDE that's been around for a very long time. It's a time tested offering and is very solid all around. Eclipse is like a sandbox IDE; it can support any language as long as somebody has baked in the support through a package. Such is the case with PyDev, a package that allows you to turn Eclipse into a very useful Python IDE.
It's a completely free IDE that offer a wide array of features such as:
- Django integration
- Code completion
- Code completion with auto import
- Syntax highlighting
- Code analysis
- Go to definition
- Refactoring
- Mark occurrences
- Debugger
- Remote Debugger
- Tokens browser
- Interactive browser
- Unit test integration
- Code coverage
- and many many more
I use this when coding in Python on my Windows machine, it just works with minimal configuration.
Komodo Edit
Komodo Edit's Official site: http://www.activestate.com/komodo-edit
Komodo Edit is a very clean, professional Python IDE. It doesn't have fluff and instead focuses on putting the thing you need right in front of you. No digging through random submenus looking for an option. It's code completion is very good and fast; it pops up as you type with minimal loading time.
ActiveState offers a commercial version of their IDE, called Komodo IDE.
The differences between the two version are as follows:
PyCharm
PyCharm's Official Site: http://www.jetbrains.com/pycharm/
PyCharm is an IDE created by JetBrains. You might remember these guys as the authors of ReSharper, one of the best investments a .NET developer can make. Well PyCharm is no exception, and continuing with their outstanding pedigree, JetBrains has released another excellent tool to the developer ecosystem.
Said to have the absolute best code completion technology, this one is worth at least a trial on your part.
- Cross Platfom
- Commercial
- Automatic Code-completion
- Integrated Python Debugging
- Error Markup
- Source Control integration
- Smart Indent
- Bracket Matching
- Line Numbering
- Code Folding
- Unit Testing