I have a cherrypy web server that uses larges amounts of HTML  data.  Is there anyway in Python to minimize the HTML so that all comments, spaces, ext, are removed?
there are bindings to tidy for python, called mxTidy from eGenix (Marc André Lemburg)
Python HTML Minimizer