I have a messages folder(package) with __init__.py file and another module messages_en.py inside it. In __init__.py if I import
Be sure to append the modules directory to your python path.
Your path (the list of directories Python goes through to search for modules and files) is stored in the path attribute of the sys module. Since the path is a list you can use the append method to add new directories to the path.
For instance, to add the directory /home/me/mypy to the path:
import sys
sys.path.append("/home/me/mypy")