On 10/21/2015 1:50 AM, Randy Day wrote:

When I read your post, I realized I'm doing
a crude animation. After a bit of searching
on 'python canvas animation', I found a
reference to how it's done:

I made my 'root' Tk instance global, and
call root.update_idletasks() after the
.put

I did not see the original post, but the alternative way to animate is to use root.after(milliseconds, callback, *args) at the end of callbacks to allow the event loop to process other events before re-calling the same or another callback.

--
Terry Jan Reedy

--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to