this youtube video explains it: https://www.youtube.com/watch?v=PYs_mAion2E
My preset for a python package that makes importing less of a hassle
Features:
- You can import anything from anywhere
- It updates the import line when there are changes made to the files being imported (vscode)
[Main Parent Dir] <-- folder
├── __init__.py
├── any.py
├── [sub_dir_1] <-- folder
├── __init__.py
├── any.py
├── [another sub dir] <-- folder
├── __init__.py
├── any.py
|
├── [sub_dir_2] <-- folder
├── __init__.py
├── any.py
├── [another sub dir] <-- folder
├── __init__.py
├── any.py