[Tutor] index list out of range
Sean 'Shaleh' Perry
Thu, 31 Jan 2002 17:19:44 -0800 (PST)
On 01-Feb-2002 firstname.lastname@example.org wrote:
> hey guys-
> i'm writing a small address book program, and i think there's a
> problem with the way the lists are structured and manipulated. i'm
> getting a "list index out of range" error when i try to exit the
> program (using the closeApp function).
it almost looks like your string.split() is not always returning the number of
elements you think it is.
Of course, if you had given us the full python traceback, we would know more.