GitHub Repo
Practical project
Folders
├── Folder1
│ ├── subFolder1
│ │ └── File2.py
│ ├── File1.py
│ └── MainFile.py
└── Folder2
└── subFolder3
└── File3.py
Main Folder is
Folders
Folders
-> contains 2 subFolder NameFolder1
&Folder2
Folder1
->subFolder1
&MainFile.py
Folder2
->subFolder3
->File3.py
subFolder1
->File1.py
&File2.py
MainFile.py
import File1
MainFile.py
from subFolder1 import File2
MainFile.py
# You Can use this to import file from any directory
import sys
sys.path.insert(1,'C://Repo//temptodel//Folders//Folder2//subFolder3')
import File3
print(File3.f33)