I have 3 files in a Python module called flags.
Empty
__init__.pyfiledata.pylookup.py
lookup.py contains the line from data import list_of_data_items
If I then try to run
from flags import lookup
I get
ModuleNotFoundError: No module named 'data'
Importing data works without issue
>>> from flags import data
>>>