Htmllib help

Stefan Behnel stefan.behnel-n05pAM at web.de
Mon Jul 9 20:31:59 CEST 2007


axjacob at comcast.net 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



More information about the Python-list mailing list