python html rendering

Gerard Flanagan grflanagan at yahoo.co.uk
Wed Oct 4 05:32:25 EDT 2006


Fredrik Lundh wrote:

> Pierre Imbaud wrote:
>
> > I rather thought of some module built on python parser, generating html
> > or xml, ideally customizable.
>
> see "colorizer.py" and "element_colorizer.py" in this directory:
>
>      http://svn.effbot.python-hosting.com/stuff/sandbox/pythondoc
>
> </F>

+1 for colorizer.py  (-1 for the american spelling ;-) )

it works a treat.  examples here:

    http://www.gflanagan.net/site/python/utils/htmlbuilder/index.html

maybe the HTML generator on this page might be useful to you (OP), and
there's a quick py2html there as well.

(Thanks Fredrik!)

Gerard




More information about the Python-list mailing list