Created nested lists with python

Well for starters, you need to put this into a Python Script node! Currently you are scripting Python in the Design Script environment :slight_smile: See how it is set up here: Dynamo Dictionary Script (EDIT: just realized this link will not send you directly to the Python script node due to the space in the hyperlink, but you can find the node in the link that this brings you to)

You can use a Code block for your Python code if you wrap it in quotes to make it a string, and use it with the Python Script From String node

This thread here should also help:

2 Likes