title: Changing the default tkinter logo (python 2.7, windows)
body: <p>I have tried the following code to change the default Tk logo in the upper left corner:</p>
  
  <pre><code>import Tkinter as Tkinter
  
  class window(Tkinter.Tk):
      def __init__(self,parent):
          Tkinter.Tk.__init__(self,parent)
          self.parent = parent
          self.iconbitmap(default='Logo.ico') 
          self.initialize()
  
  
      def initialize(self):
          self.grid()
  
  if __name__ == "__main__":
      app = window(None)
      app.title('Window')
      app.mainloop()
  </code></pre>
  
  <p>The problem is that it does nothing.. no error message and no logo change. Logo.ico is a file in the same directory as the script.</p>