Re: Syntax coloring in Python interpreter
- From: Neil Cerutti <horpner@xxxxxxxxx>
- Date: Thu, 01 Nov 2007 21:23:37 GMT
On 2007-11-01, Chris Mellon <arkanes@xxxxxxxxx> wrote:
On Nov 1, 2007 3:01 PM, Neil Cerutti <horpner@xxxxxxxxx> wrote:
On 2007-11-01, Lee Capps <lcapps@xxxxxxxxxxxxxxx> wrote:
On Nov 1, 2007, at 1:45 PM, braver wrote:
Greetings -- as a long time user of both Python and Ruby
interpreters, I got used to the latter's syntax-coloring gem,
wirble, which colorizes Ruby syntax on the fly. Is there
anything similar for Python?
I believe IPython can do this:
http://ipython.scipy.org/moin/
IPython's syntax coloring doesn't work with Windows 2000 and
up, since (last I checked) it relies on a readline.py file,
which relies on ANSI.SYS, which is not supported by the
Windows console.
If you scroll down about half a page in the above link you'll
find a link to a readline implementation for Windows.
That pyreadline.py appears to be an improvement on the Windows
support when I last looked (6 months or so ago). Thanks for the
heads up.
--
Neil Cerutti
.
- Follow-Ups:
- Re: Syntax coloring in Python interpreter
- From: Tim Golden
- Re: Syntax coloring in Python interpreter
- References:
- Syntax coloring in Python interpreter
- From: braver
- Re: Syntax coloring in Python interpreter
- From: Lee Capps
- Re: Syntax coloring in Python interpreter
- From: Neil Cerutti
- Re: Syntax coloring in Python interpreter
- From: Chris Mellon
- Syntax coloring in Python interpreter
- Prev by Date: Re: XML document causes pickle to go into infinite recursion
- Next by Date: Re: XML document causes pickle to go into infinite recursion
- Previous by thread: Re: Syntax coloring in Python interpreter
- Next by thread: Re: Syntax coloring in Python interpreter
- Index(es):
Relevant Pages
|