Combine Python components

hey guys,
I have three Python components, and the idea is to put them all in one bigger component. However, if I copy paste the codes into each other and let it run, it doesn’t work. Do you know how I can merge those individual components?

Best
Max



Flatten.gh (10.1 KB)

Any components can be combined, using a Cluster.

I dont want to use clusters, I want to combine python scripts.

Post the code in code boxes on this forum then, and I’ll take a look.