title: Why does the time.sleep work even before the window (tkinter) opens?
body: <p>Why does the <code>time.sleep()</code> work before the window of <code>tkinter</code> opens?</p>
  <p>Code:</p>
  <pre><code>import tkinter
  import time
  window = tkinter.Tk()
  window.geometry(&quot;500x500&quot;)
  window.title(&quot;Holst&quot;)
  
  
  holst = tkinter.Canvas(window, width = 450, height = 450, bg = &quot;white&quot;)
  holst.place(x = 25, y = 25)
  
  x = 30
  y = 50
  d = 30
  
  circle = holst.create_oval(x, y, x+d, y+d, fill = &quot;red&quot;)
  time.sleep(2)
  holst.move(circle, 50, 40)
  </code></pre>