import Tkinter  w = Tkinter.Tk() w.wm_state('iconic')  #or  w.iconify()

Read more of this post