[EMAIL PROTECTED] wrote: > The NullWriter worked perfectly. I will certainly look at HTMLParser.
You should rather take a look at lxml. It's much easier to use and much more powerful. http://codespeak.net/lxml/ There is even an improved branch with a package called "lxml.html" that will be merged into lxml 2.0. It features improved support for loads of things you might want to do with HTML, including HTML doctests and simple HTML generation. http://codespeak.net/svn/lxml/branch/html/ http://codespeak.net/svn/lxml/branch/html/doc/lxmlhtml.txt http://codespeak.net/svn/lxml/branch/html/doc/cssselect.txt Have fun, Stefan -- http://mail.python.org/mailman/listinfo/python-list