AttributeError: 'getopt' module has no attribute 'GetoptError'
Karl M. Syring
syring at email.com
Thu Feb 14 15:18:34 EST 2002
"Travis Shirk" <travis at puddy.lan.kerrgulch.net> schrieb
> 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?
There is not accidentally a file getopt.pyc laying around?
Once bitten, twice shy
Karl M. Syring
More information about the Python-list
mailing list