<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Dear All,<br><br>I have a python module named "book.py" I want to import it in a destructor of a class.<br><br>class Excel:<br>  <br>    def __init__( self, ... ):<br>            . . . <br><br>    def __del__( self ):<br>          import book<br><br>but I got error. Would you please help me? Can I import a module in a destructor?<br><br>Thank you in advance.<br><br>Regards,<br>Navid<br><br></td></tr></table><br>