How to keep refreshing a canvas using Tkinter?
<p>How do I keep updating a <code>tkinter</code> canvas, like in a <code>while ( True ):</code> loop?</p>

<p>I know that you can do <code>after( 1000 , refresh_function );</code>, but how do I make the loop repeat forever?</p>

<p>Practical example: a program that draws a line with fixed length under an angle, and the angle is constantly increasing (so the line is rotating / spinning).</p>

<p>I think I have taken a look at all relevant questions here, but this may still be a duplicate, and if it is, I am sorry.</p>