Pythom HTML Libraries

John J. Lee jjl at
Thu Nov 13 01:34:42 CET 2003

jdunnett81 at (Jeff Dunnett) writes:

> I was wondering if anyone can point me to a good tutorial for the
> htmllib library?  Hopefully something with some sample code.  Thanks.

No, but you're better off using HTMLParser, since it'll cope with
XHTML, too.

FWIW, ClientForm has a parser that uses either HTMLParser and htmllib,
depending on what's available, which may be instructive (assuming I've
got it right, that is... it's fairly recent that I added that).


More information about the Python-list mailing list