'for' loop in python, error: unsubscriptable object
Erik Max Francis
max at alcyone.com
Mon Nov 18 05:22:38 EST 2002
More information about the Python-list mailing list
Mon Nov 18 05:22:38 EST 2002
- Previous message (by thread): 'for' loop in python, error: unsubscriptable object
- Next message (by thread): 'for' loop in python, error: unsubscriptable object
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
george wrote: > for max in range[CLA, RBW, BAG, MRB, NOG]: This is not what you meant. You're treating range (which is a builtin function) as a mappable object, and subscripting it with a tuple. I'm not quite sure what you meant to do, but that sure wasn't it. -- Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/ __ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE / \ The great artist is the simplifier. \__/ Henri Amiel CSBuddy / http://www.alcyone.com/pyos/csbuddy/ A Counter-Strike server log file monitor in Python.
- Previous message (by thread): 'for' loop in python, error: unsubscriptable object
- Next message (by thread): 'for' loop in python, error: unsubscriptable object
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list