I have that file structure-
BlogDataObjectsUser.py
Blogindex.py
I want to import the function(say_hello) at User.py from index.py. I am trying this code -
from Blog.DataObjects.User import say_hello
say_hello()
And I have that error -
Traceback (most recent call last):
File "index.py", line 1, in <module>
from Blog.DataObjects import User
ImportError: No module named Blog.DataObjects