Re: Help needed to solve this "NameError"

2007-06-24 Thread Gabriel Genellina
En Sun, 24 Jun 2007 23:17:25 -0300, senthil arasu <[EMAIL PROTECTED]> escribió: > Hi, > Iam new tp python programming. > > Iam getting compiler error when declaring frame instance as local > variable. > please find the code In Python, indentation (number of spaces at start of lines) is impor

Help needed to solve this "NameError"

2007-06-24 Thread senthil arasu
Hi, Iam new tp python programming. Iam getting compiler error when declaring frame instance as local variable. please find the code from Tkinter import * class App: def __init__(self, master): *frame = Frame(master) * frame.pack() self.button = Button(frame, text="QUIT", fg=