I'm trying to import a class that is allocated in a higher folder.
This is my folder structure
--proyect
--folder1
-class1.py
--connection_foler
-conn.py
--folder2
-anotherclass.py
--configfolder
-app.py
I want to access to the conn class that is in conn.py and access to the class allocated in anotherclass.py from app.py
I found a lot of solutions but I'm not sure what is the correct way to do this because some solution talks about use SO module and the other one's talks about use sys module.
Any help with this?
Thanks a lot.