[EMAIL PROTECTED] wrote: >> def __init__(self): >> # ... >> button = Button(self, >> text='1', >> command=lambda n=1: self.display(n)) >> # ... >> >> def display(self, number): >> print number > > should this really be inside the __init__ function?
what's wrong with creating widgets in an __init__ method? </F> -- http://mail.python.org/mailman/listinfo/python-list