It means you tried treating an integer as an array. For example:
a = 1337
b = [1,3,3,7]
print b[0] # prints 1
print a[0] # raises your exception
It means you tried treating an integer as an array. For example:
a = 1337
b = [1,3,3,7]
print b[0] # prints 1
print a[0] # raises your exception