Hello folks , i am an architect and ive been a user of node-based programming softwares(grasshopper for rhino and dynamo for revit) for about 5 years and i want to be more advanced in coding thats why im intereseted in learning Python in dynamo and possibly after Python standalone(VCS) for revit , any references on where i should start?
(i would prefer a free solution if possible!)
So many free resources.
I started with this one >>
I don’t know if they’ve changed it (I did it a few years ago) but it was fabulous. Starts off explaining really, really basic things and takes you though everything step by step.
I should add.. for Dynamo the most useful python to learn is a for loop.
I’d start learning the fundamentals of Python outside of Dynamo first.
i.e basic syntax (indentation), data structures, data types, operators, conditions, libraries/packages, arguments etc. There are loads of resources on this.
If you’ve used Dynamo & Grasshopper- some of this will already be familiar- such as lists & dictionaries
Everyone has their own learning style- I tend to set myself a task that is relevant to me- then work out how to do it.
You could learn Python with a simple text editor, although using something like vscode makes it easier.
Various LLMs are a great resource for this- in both creating the python and explaining what it does.
For example, the below prompts into ChatGPT or similar
“write a python script that exports a csv file from multiple text files”
“explain how it works”
Andrew
Python Tutorial i do this one first and 100 % with @Alien about loops.
and have a great online compiler as well so dont need a big IDE/compiler setup for the basic stuff…but for dynamo as is a little bit different, not much …i just use the python node ide inside dynamo as is more about import these right libraries (boilerplate)for just get it to work there ![]()
PS @GavinNicholls YT python videos is great as well, and really great for startup ![]()
I used IDLE python - which is what was recommended in that course.
Free and easy to use.
I use Visual Studio now - but only because I do other languages.