title: after() vs update() in python
body: <p>i am new to python and started working with tkinter as canvas.</p>
  
  <p>up to now i used .update() to update my canvas. but there is also a .after() method. could anyone explain me this function (with an example please :) ) and is there a difference between:</p>
  
  <pre><code> root.after(integer,call_me)
  </code></pre>
  
  <p>and</p>
  
  <pre><code>while(True):
      time.sleep(integer)
      root.update()
      call_me
  </code></pre>
  
  <p>i have searched already and couldn't find a good explanation (and my .after examples wont work neither :( ).</p>