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

Gustaf Liljegren gustafl at algonet.se
Wed Jul 4 14:59:00 CEST 2001


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.

Gustaf



More information about the Python-list mailing list