def handle_starttag(self, tag, attrs): # <-- attrs here is a list if 'a' != tag: self.stack.append(self.__html_start_tag(tag, attrs)) # <-- attrs here is still a list return attrs = dict(attrs) # <-- now attrs is a dictionary -- http://mail.python.org/mailman/listinfo/python-list
- Newbie, list has no attribute iteritems rabad
- Re: Newbie, list has no attribute iteritems Justin Ezequiel
- Re: Newbie, list has no attribute iteritems Bruno Desthuilliers