my parser.py isn't imported

Torsten Bronger bronger at physik.rwth-aachen.de
Sun Aug 26 11:36:05 EDT 2007


Hallöchen!

I have a module parser.py in the same directory as the main module.
In the main module, I import "parser".  On Linux, this works as
expected, however on Windows, it imports the stdlib parser module.
sys.path[0] points to the directory of my parser.py in both cases.
What went wrong here?

Tschö,
Torsten.

-- 
Torsten Bronger, aquisgrana, europa vetus
                                      Jabber ID: bronger at jabber.org
                      (See http://ime.webhop.org for ICQ, MSN, etc.)



More information about the Python-list mailing list