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




--
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

[email protected]

Reply via email to