ImportError: cannot import name quoteattr

Andrew Dalke adalke at mindspring.com
Fri Jan 10 23:39:06 CET 2003


Guido Schimmels wrote:
> wxGlade gives me this error:
> from xml.sax.saxutils import quoteattr
> ImportError: cannot import name quoteattr

Works for me

[dalke at zebulon biopython]$ python
Python 2.2.1 (#1, Apr 15 2002, 14:36:39)
[GCC 2.96 20000731 (Red Hat Linux 7.1 2.96-98)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
 >>> from xml.sax.saxutils import quoteattr
 >>>

Can you do the same from your interactive Python shell?
Is the Python which wxGlade uses the same as 2.2.2?  Do
you have PyXML installed?

					Andrew
					dalke at dalkescientific.com





More information about the Python-list mailing list