>
> To my mind, would:
>
> def quit():
>     print('Hello lambda world!')
>     sys.exit()
>
> and:
>
> widget = Button(None, text='Hello event world!', command=quit)
>
> be preferable Python style?
>

Yes, I'd prefer this much more, compared to  the original.
_______________________________________________
Tutor maillist  -  [email protected]
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to