Python 3 uses absolute imports. Any unqualified name is imported as a top-level module.
You don’t have a top-level ada
module. You have a code_parsing.ada
module instead so the following will work:
from code_parsing.ada import *
or use an explicit ‘local package’ reference:
from .ada import *
You can force the same behaviour in Python 2 with:
from __future__ import absolute_import
See PEP 328 – Imports: Multi-Line and Absolute/Relative for details.