Any tool to convert Python source code to HTML?

François Pinard pinard at
Mon Feb 24 01:06:30 CET 2003

[Aki Niimura]

> Is there any software tool to create a HTML page from Python source code?

My usual tool for this kind of work is `enscript', probably available on
your Linux distribution, or obtainable from any GNU repository.

> Instead of putting a plain text, I would like to put a HTMLized code
> (with keyword coloring, simple links to def, class, ...)

However, `enscript' only gives you highlighting, you will not get links.

François Pinard

More information about the Python-list mailing list