time module question

"Martin v. Löwis" martin at v.loewis.de
Mon Jan 19 01:31:31 EST 2004


Jeff Seale wrote:
> How would one go about writing a program which included a clock that 
> updated itself? Right now I'm able to display the time in a text widget in 
> the window but I can't get it to update.

In your GUI library, find the mechanism to produce delayed/timed events.
Then, in the event callback, update the text of the widget.

Regards,
Martin




More information about the Python-list mailing list