Double infinite loop

Courageous jkraska1 at san.rr.com
Thu Nov 16 01:47:12 EST 2000


>The trouble is, I want to display the results in a GUI, which requires
>entering Tk's mainloop(). How can I combine the two infinte loops?

The best thing would be to set up some kind of Tcl/Tk timer event
and have it driven by the Tk mainloop(). I don't know Tk at all, but
Tk would be pretty incomplete if it didn't offer a functionality like this.
This is a very common problem.

C//




More information about the Python-list mailing list