Re: Importing from upper packages

2005-03-01 Thread Henning Kage
Am Tue, 01 Mar 2005 21:45:17 +0100 schrieb Henning Kage: > import library > > class ClassTest( libor.gui.Interface): >pass Sorry, a small mistake: class ClassTest( library.gui.Interface): pass -- http://mail.python.org/mailman/listinfo/python-list

Importing from upper packages

2005-03-01 Thread Henning Kage
I have a library with the following structure: library /app /db /gui /interface.py /wx /class.py Each __init__.py file imports the next sub-package. E.g.: library/__init__.py: import app, db, gui library/gui/__init__.py: import wx from int