On Mon, Aug 23, 2010 at 5:00 AM, Navid Parvini <parvini_na...@yahoo.com> wrote: > Dear All, > > I have a python module named "book.py" I want to import it in a destructor of > a class. > > class Excel: > > def __init__( self, ... ): > . . . > > def __del__( self ): > import book > > but I got error.
And the exact error message and exception traceback were...? Cheers, Chris -- Vagueness makes questions harder to answer. http://blog.rebertia.com -- http://mail.python.org/mailman/listinfo/python-list