On Mon, 7 Nov 2005, Double Six wrote:
> I'm learning Tkinter with the following code on Mac OS X 10.4:
>
> from Tkinter import *
> from sys import stdout, exit
> widget = Button(None, text = 'Hello?', command=(lambda:
> stdout.write('Hello?\n') or exit()))
> widget.pack()
> widget.mainloop()
>
>
Hi,
I'm learning Tkinter with the following code on Mac OS X 10.4:
from Tkinter import *
from sys import stdout, exit
widget = Button(None, text = 'Hello?', command=(lambda:
stdout.write('Hello?\n') or exit()))
widget.pack()
widget.mainloop()
I do successfully get a GUI with a button, but the pr