I'm having a hard time understanding this.
Lets assume I have a directory tree that looks like this:
~/speech
-- __init__.py
-- program.py
----------------
~/speech/parts
----__init__.py
----noun.py
----verb.py
----------------
~/speech/sentence
----__init__.py
----subject.py
----predicate.py
the __init__.py files are blank. I created them by issuing $ touch __init__.py
when i try to import anything, I get NameError: 'whatever' not defined.
I've tried the whatever as both the directory name, and the individual file names.
every other problem i've had in python has been because I'm over-thinking things and trying to make it more complicated than it really is. ( curse the c++ habits! )