Python - get item at index in List of Lists

Hallo everyone,

I have a list of lists as input of a python node, and am struggling to get the item at index referring to the lowest level of the list.

crv = IN[0]
OUT = crv[0]

if the above returns the highest list level (blue in picure) of the list, what notation is needed to call the ones in yellow instead?

Much appreciated!

1 Like

@m.mondelloCKSA ,

Can you try a tripple for loop … i would also recoment flatten the list… so that you can use just one for-loop

items = IN[0]

OUT = []

for i in items:
    for x in i:
        for y in x:
            OUT.append(i[0][0][0])

2 Likes