danbmil99 at yahoo.com
Sun Jul 20 16:32:38 CEST 2003
re my prev response -- sleep() doesn't 'allow Tkinter thread to run',
but it might be necessary to let some system services or something run
in the background. Actually I'm going to take it out and see what
happens. Just calling youroot.update() should be enough to let
Tkinter do its thing.
quick comment: if Py is indeed going to take over the world of
programming, which I for one applaud, it needs to get its threading
stuff together. Seems pretty funky right now. Also Tk is nice but a
C-level native set of GUI commands that work across platforms but use
platform-native calls would be a great improvement.
Just my 2c -dbm
"Petr Evstratov" <tetra701 at mail.ru> wrote in message news:<mailman.1058675670.11192.python-list at python.org>...
> Hi, I have a question: how do you execute an arbitrary function in Tk fooBar.mainloop()?
> I need to change the contents of a label every second, but I think I will also use some other functions as well...
> I hope that someone will answer my question, because I have been looking for an answer for 3 days, asking people, searching Google... and still have not found anything useful...
> Thanks, Pete
More information about the Python-list