HTMLParser tag contents

Grant Griffin g2 at seebelow.org
Sat May 6 03:37:14 EDT 2000


Hi Gang,

I've been trying to figure out how to use HTMLParser.  My immediate need
is to extract the entire <BODY> of a file.  (I could do that with 're',
but I'm trying to learn HTMLParser.)  Sure, HTMLParser will returns a
tag's _attributes_, but I can't figure out how to get to the tag's
_contents_.  Can it do that?

thanks-in-advance-ly y'rs,

=g2
-- 
_____________________________________________________________________

Grant R. Griffin                                       g2 at dspguru.com
Publisher of dspGuru                           http://www.dspguru.com
Iowegian International Corporation	      http://www.iowegian.com



More information about the Python-list mailing list