title: Python:Tkinter -- How do I get cursor to show busy status
body: <p>I'm trying to make Tkinter show a busy cursor.  Unfortunately, I must be missing something terribly obvious.  Following is a very simple program that reproduces my problem:</p>
  
  <pre><code> from Tkinter import *
   import time
  
   def do_something():
       print "starting"
       window.config(cursor="wait")
       time.sleep(5)
       window.config(cursor="")
       print "done"
       return
  
   root = Tk()
   menubar = Menu(root)
   filemenu = Menu(menubar, tearoff=0)
   filemenu.add_command(label="Do Something", command=do_something)
   filemenu.add_command(label="Exit", command=root.quit)
   menubar.add_cascade(label="File", menu=filemenu)
   root.config(menu=menubar)
   root.mainloop()
  </code></pre>
  
  <p>I'm not seeing any change in the cursor</p>