install/import modules, /site-packages

Randy Heiland heiland at
Fri Apr 25 17:37:27 CEST 2003

Peter Hansen wrote:
> Randy Heiland wrote:
>>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?
> "Use the source, Luke."  
> Look in lib/python2.2/xml/ and all will be revealed.  :-)
> -Peter

Indeed. I had this env set:

Ugh.  thanks,

More information about the Python-list mailing list