python source -> html

Mike Meyer mwm at mired.org
Sat Dec 14 09:59:26 EST 2002


"Achim Domma" <achim.domma at syynx.de> writes:
> I'm looking for a tool, which converts python source code to html, to show
> examples on a webpage. Any idea?

I assume you actually want the text marked up with html, donig thigns
like highlighting and the like. Enscript will do that. It normally
does content-sensitive highlighting for a wide selection of
languages. It normally produces postscript output, but can be told to
produce html. You can even get color if you want.

        <mike
-- 
Mike Meyer <mwm at mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.



More information about the Python-list mailing list