No module named xml.sax

root yauv at ohsu.edu
Mon May 12 12:53:00 EDT 2003


Dear All:

I am a newbie in Python so any help much appreciated.

I am trying to learn Python and plan to use it for XML processing.
I have Python 2.1.1 on Solaris 2.8.

My program is simply:

     import xml.sax
     parser = xml.sax.make_parser()


I have checked that I do have xml.sax and I have
defined PYTHONHOME.

However, I got this error:
       import xml.sax
        ImportError: No module named xml.sax

Perhaps my path is incorrect somehow.

Any pointer much appreciated.

--Vincent
yauv at ohsu.edu








More information about the Python-list mailing list