[Zope] Python code beautifier

Milos Prudek milos.prudek@tiscali.cz
Mon, 22 Jul 2002 13:56:41 +0200


Martin Gebert wrote:
> Hi together!
> 
> The GNU tool source-highlight, a code beautifier by Lorenzo Bettini that
> produces syntax highlighted HTML and XHTML documents from source code,
> now recognizes Python, too. You can get it here:
> 
> http://www.gnu.org/software/src-highlite/

As a batch tool it would be useful. But if you use 'gvim' (graphical 
frontend for vim), you don't need this. You can just edit the file, and 
click Syntax - Convert to HTML. Gvim will automatically create a new 
color-highlighted HTML file from the currently edited file. Gvim 
supports syntax highlighting for over 100 languages, Python included.


-- 
Milos Prudek