title: Which file formats can I use for tkinter icons?
body: <p>I know this might be obvious, but in tkinter you can set an icon, but I have found it really hard to find one. I just wanted to know if you have to use the <code>.ico</code> format for the file or if there is a way to use <code>.png</code> or <code>.jpeg</code> files.</p>
  
  <p>Currently I have</p>
  
  <pre><code>window = Tkinter.Tk()
  window.title("Weclome!")
  window.geometry("200x300")
  window.wm_iconbitmap("Icon.ico")
  window.configure(background = "Black")
  </code></pre>
  
  <p>That is the whole setup I have and I just want to know about line 4:</p>
  
  <pre><code>window.wm_iconbitmap("Icon.ico") 
  </code></pre>
  
  <p>Thanks for responding to my question, although i am sorry for not spending more time looking into the question rather than just asking here.</p>