I have python script in following directory structure
common/
log.py
file.py
__init__.py
conf/
myconf.py
__init__.py
here is my myconf.py
from common import file
data = file.myfunction()
print (data )
here is file.py
import log
myfunction():
return "dummy"
when i run my myconf.py i get below error
ModuleNotFoundError: No module named 'log
how to handle import log in my myconf.py?