Import a module one step back of the path

Viewed 27

Hi I have the following file structure

Folder Structure Image

Main and package directories are on the same level

I want to import test.py in the app.py. Kindly help me how can we import this without using sys path

0 Answers
Related