my parser.py isn't imported



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@xxxxxxxxxx
(See http://ime.webhop.org for ICQ, MSN, etc.)
.



Relevant Pages

  • Re: my parser.py isnt imported
    ... In the main module, I import "parser". ... Details of the module searching and loading process are ... "parser" is built-in on Windows but not on Linux. ...
    (comp.lang.python)
  • Re: standar command line argument parser
    ... I was wondering if there is a C/C++ command line parser that works for ... linux AND windows. ... I tried posting this in the comp.lang.c group but half ...
    (comp.unix.programmer)
  • Re: Trillian for Linux?
    ... > the same time (AIM, ICQ, MSN, Yahoo IM, etc.) by running only one ... > Linux that anyone is aware of? ... Trillian works perfectly for me under WINE. ...
    (Fedora)
  • MSN messenger
    ... How to simply block the connection to MSN ... I did this by blocking login server ip for ICQ, with iptable on linux. ...
    (comp.security.firewalls)