HTMLifyer for Python code?

Alan Daniels daniels at
Wed Feb 20 21:32:04 EST 2002

"Bjorn Pettersen" <BPettersen at> wrote in message news:<mailman.1014238715.7462.python-list at>...

> I just browsed through the Vaults, and did a quick Google search, but I
> couldn't find a tool for converting Python source code to
> syntax-highlighted HTML. Surely someone must have written something like
> this?

VIM ( will syntax-highlight Python code, and has a
"convert to HTML" option under its "Syntax" menu. It helps if a
VI-style editor is your cup of tea, I suppose, but if all you
want is the HTML conversion, it's a quick download that should
get the job done pretty quickly.

More information about the Python-list mailing list