2011/8/9 守株待兔 <1248283...@qq.com> > > > what is the difference between quit and quit() ?? >
*quit* is a reference to callable but *quit()* is a method call. The code *command = top.quit *just passes a callable reference, but *command = top.quit()* passes result of *top.quit()* execution. Possibly exception could be raised in last case. -- Regards, Igor Novikov sK1 Project http://sk1project.org
_______________________________________________ Tkinter-discuss mailing list Tkinter-discuss@python.org http://mail.python.org/mailman/listinfo/tkinter-discuss