Sep-21-2022, 09:31 AM
Hi I have the following file structure
Backend
|
--->Main --> app.py
|
--->package --> test.py
NOTE: Here Main and package directories are on the same level
Folder Structure Image
I want to import test.py in the app.py. Kindly help me how can we import this without using sys path
Backend
|
--->Main --> app.py
|
--->package --> test.py
NOTE: Here Main and package directories are on the same level
Folder Structure Image
I want to import test.py in the app.py. Kindly help me how can we import this without using sys path