Best Cross-Platform, GUI Editor/IDE For Python? 144
What do you find is the best text editor for Python software development? I've tried several, and I'm always frustrated by the limitations of each. Eclipse is cool, but it's huge, and I've had multiple problems with corruption of the workspace. It got so bad at one point that every week or so I was tearing it down and recreating it. I spent so much time re-creating Eclipse's workspace that I found any productivity gains were lost due to Eclipse's brokenness. (Read more below.)
Unfortunately, there are no GUI WordStar-style editors and none of them are cross-platform with Windows.
So, that left me with Scintilla/SCiTE. Which is nice, but, the code browsing doesn't seem to be able do autocomplete with PyGTK (to be fair, Eclipse's didn't work so well, either in that regard, at least not on the default Ubuntu install)
SCiTE loads fast, does nice Python highlighting, and has the ability to run code right from the browser. Unforutnately, unlike Eclipse or Emacs, there's no ability to do step/trace style debugging. *sigh*
So, okay, does anyone have any other ideas?"
Some of what I've looked at and use (Score:5, Informative)
komodo edit [activestate.com] is an extremely powerful editor that works with a slew of languages on Windows, Mac and Linux. It is free as in beer. It is packaged by ActiveState as just an editor - but really it has many features that fall more into the IDE camp - yet it is light-weight and responsive - more like an editor. This review of komodo edit [h3rald.com] may be helpful.
Komodo IDE [activestate.com] is the big brother to Komodo edit I guess. I've never used it because the cost is outside my budget. ($295 for a full single user license - there is a student version but I don't know what it costs)
SPE [blogspot.com] is free/free I believe. It is multiplatform and the price is right to at least give it a try.
All these and more are listed on the python ide page [python.org] of the python.org wiki.
Personally - right now I use Komodo edit while I wait for python support in netbeans [netbeans.org].
Emacs (Score:5, Informative)
Emacs with python.el. Seriously, I'd never be without it. Not only does it have indentation and syntax highlighting perfectly nailed, but it gives you lots of niceties like an interface to pylint and etags for smart completion, but all the "standard" Emacs stuff like the ability to edit files that are only reachable by obscure methods SSHing to the firewall, sudoing to another user, SSHing to the final destination, and sudoing to root.
Rally, there's no substitute.
A few different options: (Score:3, Informative)
This page has a list: http://c2.com/cgi/wiki?PythonIde [c2.com] (including some mentioned above).
It also mentions http://www.die-offenbachs.de/eric/index.html [die-offenbachs.de] which is Free (speech and beer).
Personally, I use Gedit (though I know it's not cross platform). But there's a question. Why do you have to use the same editor on each platform? Are you moving around often enough that it becomes an issue?
Erics Python IDE, Wing IDE, Komodo. In that order. (Score:1, Informative)
Erics Python IDE [die-offenbachs.de]
Wing IDE [wingware.com]
Komodo [activestate.com]
If you're hell-bent on using an Editor, I can warmly recommend jEdit [jedit.org] for Python stuff. It's the best Editor in existance.
And one more thing: There is this think called 'Google' [justfuckinggoogleit.com], you may have heard of it. It usually answers this sort of question in under 10 seconds.
Eric (Score:2, Informative)
Trouble with eclipse on ubuntu (Score:5, Informative)
I've had problems using Eclipse on Ubuntu before, the problems you had with Eclipse may be related.
1. Don't use the repositories for Eclipse. Download the linux version directly from the eclipse website, and run it.
2. Eclipse has problems with the default gcj jvm for Ubuntu. Solution here [ubuntu.com]
I suggest giving Eclipse another look. Download the latest ganymede, fix the jvm, add http://pydev.sourceforge.net/updates/ [sourceforge.net] to your update sites.
Re:Trouble with eclipse on ubuntu (Score:4, Informative)
+1
Never had problems, works beautiful.
Re:Wingware (Score:2, Informative)
I second that -- Wing IDE is a pretty slick environment, a couple of my developers really love it. Its quite *fast* (faster than Komodo -- at debugging especially... well, it was when I benched them), has a lot of useful features, and is MADE FOR PYTHON (unlike Eclipse, emacs, etc).
Sadly, its not free...
Slickedit (Score:2, Informative)
Slickedit [slickedit.com]
Re:Trouble with eclipse on ubuntu (Score:3, Informative)
I use Eclipse for java dev, not python, but I agree that it's generally better to install a local copy of the upstream eclipse rather using the packaged version.
Why cross-platform? (Score:3, Informative)
Re:Wingware (Score:3, Informative)
Eclipse + Pydev (Score:3, Informative)
Although I agree that Eclipse is huge, bloated, slow, and buggy, I haven't run into problems as serious as the ones you've described. I have to restart it every once in a while, when the text editor (you'd think they could get at least this part right) gets fubared and starts displaying gibberish onscreen, but I've never had the workspace become corrupted, or anything else that isn't solved by a restart.
I've been working with Eclipse and Pydev for a couple of years, and it gets the job done. There are plenty of things that I wish were different, or less buggy, but after considerable searching and experimenting with most of the other products mentioned here, Eclipse still works better.
Re:Wingware (Score:3, Informative)
Re:Some of what I've looked at and use (Score:5, Informative)
Agreed, Komodo rocks. Just a correction - Komodo Edit is now free as in speech as well (they started calling it Open Komodo then changed the name back) - all the source is available under the MPL I think
Zen and the Art of Eclipse (Score:3, Informative)
Here's what I have discovered through blood, sweat, and tears:
* Use Eclipse 3.3.2 [eclipse.org] (instead of 3.4.x -- I found 3.4 to be VERY unstable with PyDEV -- and the debug shell doesn't work)
* Use PyDev 1.3.20 [fabioz.com] (or later)
* GET Pydev Extensions -- it's well worth the $42 (gives you an interactive debug shell and PyLint integration)
* Virtual Word Wrap [ahtik.com] (it should be built in, but is not).
I've found that its best to NOT let Eclipse copy files to its "workspace" directory -- force it to use the existing files. I have adopted the habit of taking regular tarball backups of the workspace directory (and files I'm editing). Be sure you set your PYTHONPATH properly in your debug configuration, turn on line numbering and display of whitespace characters.
Unfortunately, I haven't found any IDE that is as mature and complete. If you must use something else, I recommend Geany [geany.org]. WingIDE is also good, but lacks support for Projects, sophisticated debug configurations, etc.
Re:Wingware (Score:3, Informative)
I second this. I think Wingware is the best Python IDE available. It is a bit costly though. I also like PyDev-extensions for Eclipse, but not anywhere near as much.
In spite of all that, I mostly use TextEdit for all my editing needs.
Re:Wingware (Score:3, Informative)