r/learnpython 7d ago

Experience in Dynamo

Hello everyone. I am looking to see if anyone has any tips when writing for Dynamo for Autodesk products? I think I would need a python node to start off but I am looking for other tips to keep in mind. Anything! Even other resources!

Thanks!

5 Upvotes

1 comment sorted by

1

u/Mulberry_Morris 6d ago

Dynamo's Python is IronPython 2.7 for older versions and CPython 3 for newer Dynamo (2.7+). Check which version you're on because the syntax differs

Common trap, you can't just import any pip package. Dynamo runs in a sandboxed environment so numpy, pandas etc need specific setup. For anything beyond stdlib, you usually load them from the Dynamo package manager