[Tutor] SAX and Python

Akanksha Govil govilakanksha at yahoo.com
Wed Aug 30 14:25:59 CEST 2006


Hi,

I have written a small code in python for reading xml using SAX.

I am importing xml.sax using the following:

from xml.sax import saxlib, saxexts
On executing the code I get the following error:

ImportError: cannot import name saxlib

Both python-xml and pyxml are installed on my machine along with python 2.4.

What am I missing here?

Thanks
Akanksha

 		
---------------------------------
 All-new Yahoo! Mail - Fire up a more powerful email and get things done faster.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20060830/e89d6ca1/attachment.html 


More information about the Tutor mailing list