title: How do I insert a JPEG image into a python Tkinter window?
body: <p>How do I insert a JPEG image into a Python 2.7 Tkinter window? What is wrong with the following code? The image is called <em>Aaron.jpg</em>.</p>
  
  <pre><code>#!/usr/bin/python
  
  import Image
  import Tkinter
  window = Tkinter.Tk()
  
  window.title("Join")
  window.geometry("300x300")
  window.configure(background='grey')
  
  imageFile = "Aaron.jpg"
  
  window.im1 = Image.open(imageFile)
  
  
  raw_input()
  window.mainloop()
  </code></pre>