title: _tkinter.TclError: bitmap "icon.ico" not defined
body: <p>I'm creating a tkinter app &amp; when i added the app icon it shows this error</p>
  <pre><code>Traceback (most recent call last):
  File &quot;d:\Workspace\python demo\Workspace.py&quot;, line 553, in &lt;module&gt;
  root.iconbitmap('icon.ico')
  File &quot;C:\Users\RAKESH\AppData\Local\Programs\Python\Python310\lib\tkinter\__init__.py&quot;, line 2109, in wm_iconbitmap    return self.tk.call('wm', 'iconbitmap', self._w, bitmap)
  _tkinter.TclError: bitmap &quot;icon.ico&quot; not defined
  </code></pre>
  <p>When first i created the app it's working fine but recently it's not working</p>
  <pre><code>root = Tk()
  root.iconbitmap('icon.ico')
  root.update()
  starttime = time.time()
  
  
  root.wm_title(&quot;Workspace&quot;)
  ob = Login(root)
  
  
  root.mainloop()
  </code></pre>