I have my files like this:
main.py
folder/
__init__.py
file_to_import.py
other_file_used_by_file_to_import.py
I get a ModuleNotFoundError when I use import folder.file_to_import
then I tried from .file_to_import import function
then I get a
ModuleNotFoundError: No module named '__main__.admin_menu'; '__main__' is not a package
can't seem to be able to find who to do this properly in python3.