Hi ppl,
I'm really sorry for the previous post. I write mails very quickly and end
up making errors in it.
This time i ended up giving a code portion from an old copy of my program.
Here's the code portion that is giving a TypeError:list indices must be
integers

for index1 in indexList1:
  for index2 in indexList2:
    if ti1[index1] == ti2[index2] and index1 != indexList1[-1]:
       index1+=1
       index2+=1
       continue
    elif index1 == indexList1[-1] and charList in pairList:
       k = string2.index(char2[0])
       instance = ti2(k)
       tiNew = ti1.append(instance)
       tiNewList.append(tiNew)
    else:
       break


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to