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

Erno Kuusela erno-news at erno.iki.fi
Wed Jul 4 03:19:44 CEST 2001


In article <Xns90D3ECC92390Dgustaflalgonetse at 194.213.69.152>,
gustafl at algonet.se (Gustaf Liljegren) writes:

| 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?

  -- erno




More information about the Python-list mailing list