I have a Python project with nested modules:
root_dir:
|-code_base
|-task_code.py
|-__init__.py
|-utils_dir
|-mysql_util.py
|-__init__.py
|-__init__.py
I'm using Visual Studio IDE and, loading the root_dir folder.
When i'm trying to import mysql_util file in tasks_code file, im getting Import Error.
Import statement i'm using : from utils_dir.mysql_util import MySQLUtils
Error i'm receiving:
ModuleNotFoundError: No module named 'utils_dir'
Please help me to resolve the issue.