python html rendering

GHUM haraldarminmassa at gmail.com
Wed Oct 4 05:03:28 EDT 2006


Pierre,

> 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,

<tongue - in - cheek - mode>
the usual way is to create your own web-framework
</tongue - in - cheek - mode>

If it is just "some" Python code and you have to do it "once", just
look at scite. Scite can colour your code, and you can export it as
HTML.

Harald




More information about the Python-list mailing list