install/import modules, /site-packages
heiland at ncsa.uiuc.edu
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/__init__.py and all will be revealed. :-)
Indeed. I had this env set:
More information about the Python-list