ychaouche wrote: > class ParseurHTML(HTMLParser): > def __init__(self): > HTMLParser.__init__(self) > > def start_body(self,attrs): > print "this is my body"
def start_tag(self, name, attrs): if name == 'body': print "this is my body" -- http://mail.python.org/mailman/listinfo/python-list