OOP and Tkinter

Diez B. Roggisch deets at nospam.web.de
Mon May 15 15:15:32 EDT 2006


Ronny Mandal schrieb:
> Thanks, but the problem was my undentation, after making one indent,
> it worked as expected. :)

I seriously doubt that. I guess you didn't show us the real code. But 
there is no way that an instance variable can be accessed on type-level 
in a derived class (or from anywhere, for that matter). So I presume you 
have some misconceptions about pythons OO-model that will sooner or 
later bite you - for example if you want to have several Front-objects.

Diez





More information about the Python-list mailing list