I can't import all of functions from own module in other directory
my project structure:
/
|-code
|-db_orm
|-__init__.py
|-db_interface.py
|-streamlit
|-pages
|-subpage1.py
|-subpage2.py
|-main.py
i want to add functions from db_interface.py module into subpage1.py & subpage2.py file with this code:
from db_orm.db_interface import *
but i can't do it !
i am using VS Code and python 3.9.13
thanks for any help.