So I've spent the last three days trying to figure out a workable solution to this problem with imports.
I have a subfolder in my project where I have scripts for database control, which has sibling folders that would like to call it. I have tried many online solutions but couldn't find anything that properly works. It seems some changes in Python 3.3/4 nullify a lot of solutions, or something.
So I made a very simple test case.
IMPORTS/
├─ folder1/
│ ├─ script1.py
│ ├─ __init__.py
├─ folder2/
│ ├─ script2.py
│ ├─ __init__.py
├─ __init__.py
How do I, from script1.py, call a function inside script2.py?