can't seem to figure out a way to print a nested lists index while iterating through it.
for example lets say i have a list group that has nested lists of points
for i in group:for j in i:print "index no." + str(i) + str(j)
the str(i) will give me the complete items inside the nested list 'i', but not the index number, meaning whether 'j' is in 'i' position of 0, 1, 2 or even the 'j' position inside 'i' etc. If i want to check the script usually i use print commands in order to understand where the mistake is or where the script crashes.
I've tried many ways, but I don't know how to print the index no. and for sure a counter is not a sophisticated way !
any help appreciated.