I am trying to import a module from a package set up as per instructions from Modules Python Tutorial. My directory tree is:
$ pwd /home/me/lib/python/pygplib $ ls * __init__.py atcf: atcf.py __init__.py I am able to import pygplib but pygplib.atcf does not seem to exist:
In [1]: import pygplib In [2]: dir(pygplib) Out[2]: ['__builtins__', '__doc__', '__file__', '__name__', '__package__', '__path__'] What am I doing wrong? All my __init__.py files are blank. Thank you.
import pygplib.atcf.atcfto get what's in that file?