Syntax coloring in Python interpreter

Chris Mellon arkanes at gmail.com
Thu Nov 1 21:15:34 CET 2007


On Nov 1, 2007 3:01 PM, Neil Cerutti <horpner at yahoo.com> wrote:
> On 2007-11-01, Lee Capps <lcapps at cteresource.org> 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.

> --
> Neil Cerutti
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>



More information about the Python-list mailing list