How to use Python file (.pynb or .py) from desktop in Dynamo?

I’ve written python code and saved the file on my desktop as ABC. I want to use the ABC in Dynamo.
Is there any method for that?

Hi @chacha ,

See if this thread helps:

Ps: please use the search function first and try to ask more specific questions if the already existing posts on the topic don’t work for you. I found this topic (and at least 10 more) after 5 minutes of searching

2 Likes

You can import your .py file as module

example here

4 Likes