Newbie Python+XML Question
brian at sweetapp.com
Wed Mar 6 00:58:39 CET 2002
> % python2.1 testg.py
> Traceback (most recent call last):
> File "testg.py", line 26, in ?
> class XmlHandler(saxutils.DefultHandler):
> AttributeError: 'xml.sax.saxutils' module has no attribute
> It looks like the SAX stuff is not getting imported correctly.
> Does anyone feel like helping a lowly Newbie with this one?
Easy one: you spelled "Default" incorrectly. Change 'DefultHandler' to
'DefaultHandler' everywhere in that script.
More information about the Python-list