Just my two cents: For the mac, BBedit is a general purpose text editor with syntax coloring and lots of goodies. It has limited auto-complete, but no auto-indent for Python. But what it does have, which I find valuable, is the ability to run a python script from within the editor (shell and apple scripts, maybe perl? too). Whatever installation of Python you put in the #! line will be addressed, and the results are written into a log file in the editor. There are limits to this procedure if you're doing os stuff, but I find it useful for trying things out.
Jon On Fri, Nov 19, 2010 at 3:44 PM, Leo Shklovskii <[email protected]> wrote: > peppy looks pretty, cool, thanks for the pointer! > > Super handy feature of iPython is that '%edit object_name' will take you to > an editor of your choice directly to the file that contains the class or > function that you're trying to edit. > > -- > --Leo > > Christopher Barker wrote: >> >> On 11/19/10 3:18 PM, Jonathan P Jacky wrote: >>> >>> I haven't used ipython, so I can't give a specific answer. In the python >>> shells I have used (python and IDLE), I find that indentation is tricky >>> and sometimes doesn't work for reasons that aren't clear to me. >> >> Well, when it's working right, ipython does do it pretty well, and there >> really are times when interactive use at the command line is very helpful. >> >> combined with using iPython's "run" and a text editor, I can get the best >> of both worlds: write a bit in the editor, use "run" to run it, do some >> testing and introspection in ipython...lather, rinse, repeat. >> >> On 11/19/10 3:25 PM, Richard Fuhr wrote: >>> >>> Same here. In my initial ventures into Python, I have found that >>> TextMate on the Mac has been working the best so far. It is a >>> Python-aware editor, which handles the indentation quite well. >> >> While we're plugging our favorite text editors -- I'm a Peppy fan: >> >> http://peppy.flipturn.org/ >> >> Peppy is written in Python, so you can add features yourself if you want >> (I've added a couple), but most importantly, it has a few things that I >> could not find elsewhere: >> >> Versions for Mac, Linux, Windows (and anywhere else Python+wxPython runs) >> >> Multiple top level Windows -- a tabbed interface doesn't always do it. >> >> Excellent python indenting. >> >> It's general-purpose editor -- stronger with Python, I suppose, but modes >> for lots of other languages -- I use it for plain text a lot, with spell >> checking enabled, it's great. >> >> -Chris >> >> >> >> >
