Saturday, 15 January 2022

Importing from above path on python for windows

I have the script I want to run in the following structure

scripts/ project/ main.py

libraries/ a.py

In main.py I need to import things from a.py. How can I import things in subfolders that are two or more folders above main.py?



from Importing from above path on python for windows

No comments:

Post a Comment