AttributeError: 'getopt' module has no attribute 'GetoptError'

Travis Shirk travis at
Thu Feb 14 20:48:06 CET 2002

Gustaf Liljegren <gustafl at> wrote:
> Erno Kuusela <erno-news at> wrote:

>>> I use Python 2.1 on Win98.  Try to use the getopt module, but get
>>> the error in the subject line. What's wrong?

>>your test program isn't called "" by any chance?

> Oh. Yes, it is... Thank you.

I'm having the exact same problem as Gustaf, and
my program is *not* called  Anyone know what the
the AttibuteError is all about?


More information about the Python-list mailing list