hi.

This is my first try on modules.

I've got :

tom/
    __init__.py
    core.py
    ui.py
    data.py

then, when I'm in my ipython shell :

?> from tom import *


this works, it loads core, ui and data
but when I do this :


?> import tom

?> tom.core
AttributeError: 'module' object has no attribute 'core'


Well, i guess I missed something, but I don't see what ...

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to