Python3: imports don't see files from same directory?

dmitrey dmitrey15 at gmail.com
Sat May 7 06:02:29 EDT 2011


hi all,
I try to port my code to Python 3 and somehow files don't see files
from same directory, so I have to add those directories explicitly,
e.g.
import sys
sys.path += [...]

Also, it leads to bugs like this one:
http://groups.google.com/group/comp.lang.python/browse_thread/thread/961a90219a61e19d#

any ideas what's the reason and how to fix it?
I have tried to search google but got nothing yet.

Thank you in advance, D.



More information about the Python-list mailing list