Can't get around "IndexError: list index out of range"
John Machin
sjmachin at lexicon.net
Tue Oct 3 23:09:41 EDT 2006
Terry Reedy wrote bloated code:
> if sys.argv[1:2] != []:
if sys.argv[1:2]:
:-)
More information about the Python-list
mailing list