[PyQt] Eric3 issue: importing modules with the same name as an Eric module

Sundance sundance at ierne.eu.org
Tue Sep 25 18:30:26 BST 2007


Hi peeps,

I am trying to run a Python/Qt4 project in Eric3. The project has a file 
called Config.py. When I try to run the project from the Eric3 
interface, it fails, because the line 'import Config' in my code 
imports the Config module from Eric3 instead, even though my project 
directory comes first in sys.path.

Is there anything I can do to keep Eric3's own modules out of the way of 
my imports?

Thanks,

-- S.


More information about the PyQt mailing list