I was able to fix (i.e., work around) this issue by using the import:
import xml.parsers.expat as expat
and then referring to:
expat.ExpatError
I have no idea why this makes it work, seems like a bug in Python to
me.
-Don
[EMAIL PROTECTED] wrote:
> Sorry, that should have been "xml.parsers.e
Sorry, that should have been "xml.parsers.expat"
[EMAIL PROTECTED] wrote:
> Hi, c.l.p.'ers-
>
> I am having a problem with the import of xml.parsers.expat that has
> gotten me completely stumped. I have two programs, one a PyQt program
> and one a command line (text) program that both eventually c