A python package to import files from an adjacent folder
About
EasyImports is a python package that allows users to easily access and import files from sister folders:
f.ex:
- Project
- Folder 1
-main.py
- Folder 2
-userpackage1.py
-other_stuff.py
- My Folder
-important_package.py
if you would try to import anything in main.py that isn’t in Folder 1 you’ll get an error.
F.ex:
in main.py
import userpackage1
from Folder 2 import other_stuff.py
import My Folder.important_package.py
=> Each of these will raise a ModuleNotFoundError
With EasyImports this can be fixed.
Installing