(question) HTML pretty printer

Stephan Diehl stephan.diehl at gmx.net
Fri Dec 6 04:27:53 EST 2002


Skip Montanaro wrote:
>     William> I sometime have to deal with HTML file with messy indentation,
>     William> long lines, etc.
> 
> You want tidy:
> 
>     tidy.sourceforge.net
> 
> Also, check the Vaults of Parnassus (www.vex.net/parnassus) for a Python
> wrapper around tidy.
> 
What you really want is the mx.Tidy package
(http://www.egenix.com/files/python/eGenix-mx-Extensions.html#Packages). 
It located in the experimental branch. As the name suggest, it's a 
python wrapper around Tidy.




More information about the Python-list mailing list