I do have a very basic question about the Python-component in Rhino 6. How can I output lists from the grasshopper-component, atm I’m just printing strings:
import xml.etree.ElementTree as et tree = et.parse(x) root = tree.getroot() def rootData(): a = root.tag b = root.attrib return(a, b) print(rootData()) c = rootData()
What if I want to output a and b in seperate lists, coming out of c?
And why is c just showing me a?