python html rendering

Mark Peters mpeters42 at gmail.com
Wed Oct 4 07:05:46 CEST 2006


> Hi, Im looking for a way to display some python code
> in html: with correct indentation, possibly syntax hiliting, dealing
> correctly with multi-line comment, and... generating valid html code if
> the python code itself deals with html (hence manipulates tag litterals.
> Thanks for your help!

I haven't used it, but these seem promising:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/252170
http://silvercity.sourceforge.net/

Hope it helps.




More information about the Python-list mailing list