Tkinter Problem - NameError

O'Rourke Clodagh-corour01 corour01 at motorola.com
Wed Mar 21 06:57:15 EST 2001


From: Fredrik Lundh [mailto:fredrik at pythonware.com]
>Looks like recursive from-import problems

Ahh yes thanks a million.  I was using import-* instead of import.
However now my functions which close the current window and open a new one don't work

it was for example

def newCellWindow
    self.destroy()
    Cell.(self.parent)

How do I call the constructor of the Cell class from another class to which Cell is imported?

Thanks again,
Clodagh.




More information about the Python-list mailing list