htmllib samples

Fredrik Lundh fredrik at pythonware.com
Thu Mar 29 17:10:23 EST 2001


Dave LeBlanc wrote:
> Ok, i'll bite - why would you want to use the significantly greater
> complexity of SGML if you think you want to do HTML?

htmllib is based on sgmllib, but the classes in htmlib are designed
for HTML formatting rather than HTML parsing.  in my experience,
most real-life problems are parser related (e.g. extract all images,
look for title tags, etc), not formatting related.

Cheers /F





More information about the Python-list mailing list