Forum Discussion

Capscreen's avatar
Capscreen
New Contributor
2 years ago

Import existing Files by code in Editor

Hello there,

I want to import a python script file in a specific subfolder in the script folder. But I want to do it by code. I know there are those visualizer subfolders and xml files but I don't know how to get those cryptic keys in there to show my imported python file. 

Is there a simpler way? If not, how to get those crypic keys?

 

Regards

  • rraghvani's avatar
    rraghvani
    Champion Level 3

    I don't quite fully understand the question? What are the cryptic keys you are referring to?

     

    Here, I have Unit2.py in a subfolder called 'Something', and I'm using Unit1.py to call a function in Uni2.py