I’ve recently started studying Phyton scripts inside Dynamo and I’ve a problem that i haven’t been able to solve yet. When i finish a script that works fine i save it in a OneNote Notebook by copy/paste the script from the Python windows. When i try to copy/paste this text in a new python node it always give me this kind of error:
Even though the script is correct and it has no syntax errors, every time i have to write the script from scratch, it’s really annoying specially because i often have to switch from a dynamo version to another, so it’s impossible to copy/paste directly the python node. Anyway, i have the same error even when i copy the text from a dyn file of the same version.
What am i doing wrong?
Thank you very much!