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

Travis Shirk travis at puddy.lan.kerrgulch.net
Thu Feb 14 14:48:06 EST 2002


Gustaf Liljegren <gustafl at algonet.se> wrote:
> Erno Kuusela <erno-news at erno.iki.fi> 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 "getopt.py" by any chance?

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

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

Travis



More information about the Python-list mailing list