Tkinter and threads

Kim Petersen kp at kyborg.dk
Mon Jun 17 08:24:01 EDT 2002


Markus von Ehr wrote:

> Hi,
> 
> I'd like to have a progress bar increasing while a calculation process
> calculates some results.
> Unfortunately there is no mainloop processing while the calculation is
> running and so the progress bar begins after the calculation.
> Another thread neither can access the Tkinter resources, how can
> I manage this problem?


sprinkle the loop with tk.update() calls, would be my best guess


> 
> I appreciate any help,
> 
> Markus
> 
> 
> 





More information about the Python-list mailing list