[Tutor] Mad Villain Seeks Source Review.

Danny Yoo dyoo@hkn.eecs.berkeley.edu
Tue, 21 Aug 2001 00:45:32 -0700 (PDT)


On Tue, 21 Aug 2001, Danny Yoo wrote:

> Hmmm... so would this diabolical plan only wrap its terrible tendrils
> around HTML?  If so, you might be able to avoid the parsing issue
> altogether by using the HTMLParser class from htmllib.  Here is the
> darkness that is the BlackHoleParser.py:

Sorry, meant to say 'sgmllib'.  There are some reasons why htmllib would
be messier: htmllib automatically handles several kinds of tags, and those
too would need to be redefined if I were to use htmllib.  sgmllib is a
clean slate.