[Edu-sig] testing colorized code sharing

Guido van Rossum guido@python.org
Tue, 02 May 2000 22:35:07 -0400


Kirby,

There's some code around that can help with the colorization.  The
code in IDLE is hard to adapt because it works under near-real-time
constraints and is consequently convoluted; however my brother wrote a
module PyFontify that I found was recently used in a PDF generator.
It doesn't generate HTML but that's the easy part -- recognizing
Python syntax is the hard part.

He'll gladly point you to a copy at just@letterror.com.

--Guido van Rossum (home page: http://www.python.org/~guido/)