How can i get the values of a key inside square brackets, using dict?
I don't think I quite understand the syntax to use to get values within a dict.
I tried to find a solution here on the forum and looked for a way to get the value of a key that appears to be inside another key without being contained between figure brackets {...} ... I don't know how to do it.
Can anyone help me understand? thank you
... it has already been covered here:
https://cycling74.com/forums/node-js-outlet-arrays-of-arrays/replies/1#reply-5c3f7bb1280921013c21d9b8
Ooh, dictionaries in Max aren't meant to store nested arrays. It would be more conventional to put dictionaries inside other dictionaries.
If the array weren't nested, then Max would output a list instead. If you can translate the nested array into another dictionary, then dict.iter can iterate all the values for you.