title: tkinter PhotoImage doesn't exist?
body: <pre><code>from tkinter import *
  
  root = Tk()
  
  photo = PhotoImage(file='blueface.png')
  label = Label(root, image=photo)
  label.pack()
  
  root.mainloop()
  </code></pre>
  
  <p>The image face.png is in the same directory as this .py script, but when I run it, I get the following error:</p>
  
  <pre><code> line 5, in &lt;module&gt;
      photo = PhotoImage(file='blueface.png')
   line 3539, in __init__
      Image.__init__(self, 'photo', name, cnf, master, **kw)
   line 3495, in __init__
      self.tk.call(('image', 'create', imgtype, name,) + options)
  _tkinter.TclError: couldn't open "face.png": no such file or directory
  </code></pre>