Re: Newbie question: Classes

2008-01-09 Thread Sam Garson
OK i've kind of got that. The only thing left is calling the class. " class Remember: def __init__(self, master): self.ent = Entry(self, ... root = Tk() app = Remember(root) " I get the error "Remember instance has no attribute 'tk' "...??? On Jan 8, 2008 7:36 PM, Sam Garson <[

Re: Newbie question: Classes

2008-01-09 Thread Bruno Desthuilliers
Daniel Fetchinson a écrit : nb: answering to the (unknown) OP: >> Basically, I have created a program using tkinter without using any class >> structure, simply creating widgets and functions (and finding ways around >> passing variables from function to function, using global variables etc). On

Re: Newbie question: Classes

2008-01-08 Thread kyosohma
On Jan 8, 3:31 pm, "Daniel Fetchinson" <[EMAIL PROTECTED]> wrote: > > Basically, I have created a program using tkinter without using any class > > structure, simply creating widgets and functions (and finding ways around > > passing variables from function to function, using global variables etc).

Re: Newbie question: Classes

2008-01-08 Thread Daniel Fetchinson
> Basically, I have created a program using tkinter without using any class > structure, simply creating widgets and functions (and finding ways around > passing variables from function to function, using global variables etc). > The program has become rather large ( lines?) I am trying to now put