I have package in following structure
Main_file __init__.py main.py sub_folder __init.py a.py b.py b.py contain
def print_value(): print("hello") a.py contain
import b b.print_value() in main.py
from sub_folder import a when i run main.py i got following error
No module named 'b'