[Tutor] possible import locations

Andre Engels andreengels at gmail.com
Wed Jan 17 10:21:57 CET 2007


Is it possible to see from a python program where it searches for possible
imports? Is it possible to import from another location than those? (Of
course with an "if so, how" attached).

The issue is that the company I work for is switching providers. With the
old provider (as well as in my local setting), Python automatically searched
for imports in the current directory (the one where the program was run).
With the new one, this does not seem to be the case, so I am getting
ImportErrors all over the place.

-- 
Andre Engels, andreengels at gmail.com
ICQ: 6260644  --  Skype: a_engels
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20070117/a696a514/attachment.htm 


More information about the Tutor mailing list