install/import modules, /site-packages

Randy Heiland heiland at
Fri Apr 25 17:03:09 CEST 2003

I need some basic Python module knowledge.  On my RH Linux installation, 
I've got the following:


and when I >>> import xml.sax, I get:

How does this module (in site-packages) take precedence over the other? 
  (I got _xmlplus by installing PyXML).  This relates to an earlier post 
of mine regarding:
AttributeError: SAX_expat instance has no attribute 'setContentHandler'

I also have:
 >>> print sys.path
['', '/home/heiland/xml_parse_test', '/usr/local/lib/python2.2', 

thanks for any insight and/or doc link,

More information about the Python-list mailing list