title: How to make image pop up on a window Tkinter python3
body: <p>Hey I'm following a tutorial, <a href="https://www.youtube.com/watch?v=a1Y5e-aGPQ4" rel="nofollow noreferrer">https://www.youtube.com/watch?v=a1Y5e-aGPQ4</a> , and I can't get it to work properly. I'm trying to add an image when you press on a menu button:</p>
  
  <pre><code>from tkinter import *
  from PIL import *
  
  class Window(Frame):
  
      def __init__(self, master = None):
          Frame.__init__(self, master)
  
          self.master = master
  
          self.init_Window()
  
      def init_Window(self):
          self.master.title("GUI")
  
          self.pack(fill =BOTH, expand=1)
  
          #quitButton = Button(self, text = "Quit", command =      self.client_exit)
          #quitButton.place(x=0,y=0)
  
          menu = Menu(self.master)
          self.master.config(menu=menu)
  
          file=Menu(menu)
          file.add_command(label='Save',command= self.client_exit)
          file.add_command(label='Exit',command= self.client_exit)
          menu.add_cascade(label='File',menu=file)
  
          edit = Menu(menu)
          edit.add_command(label='Show Image', command=self.showImg)
          edit.add_command(label='Show Text', command=self.showTxt)
          menu.add_cascade(label='Edit',menu=edit)
  
      def showImg(self):
          load = Image.open('Pic.png')
          render = ImageTk.PhotoImage(load)
  
          img = Label(self, image=render)
          img.image = render
          img.place(x=0,y=0)
  
      def showTxt(self):
          text = Label(self,text='Hey')
          text.pack
  
      def client_exit(self):
          exit()
  
  
  
  root = Tk()
  root.geometry("400x300")
  app = Window(root)
  
  root.mainloop()
  </code></pre>
  
  <p>I have tried asking around school, StackOverflow, and YouTube for about 3 days now, and nothing has solved my problem, if you need any more info about it please ask. I am getting the error code:</p>
  
  <pre><code> Exception in Tkinter callback
   Traceback (most recent call last):
   File "/usr/lib/python3.5/tkinter/__init__.py", line 1558, in __call__
   return self.func(*args)
   File "/root/Desktop/Python Programs/Tkinter.py", line 35, in showImg
   load = Image.open('pic.png')
   AttributeError: type object 'Image' has no attribute 'open'
  </code></pre>