How to return a Dictionary out of Python node?

As an alternative, you could also return the key/value pairs of the dictionary and reuse them at a later time:

a, b = range(5), range(4, -1, -1)
OUT = dict(zip(a, b) ).items()
3 Likes