title: Waiting certain amount of time with Tkinter
body: <p>I have a Tkinter program which I want to pause for 3 seconds.
  <code>time.sleep</code> doesn't work and the <code>after</code> method doesn't do exactly what I want to.</p>
  
  <p>here is an example code:</p>
  
  <pre><code>from Tkinter import *
  def waithere():
      print "waiting..."
  root = Tk()
  
  print "1"
  root.after(3000,waithere)
  print "2"
  
  root.mainloop()
  </code></pre>
  
  <p>output:</p>
  
  <pre><code>1
  2
  *3 seconds*
  waiting...
  </code></pre>
  
  <p>the output i want to have:</p>
  
  <pre><code>1
  waiting...
  *3 seconds*
  2
  </code></pre>
  
  <p>thanks.</p>