title: Adding a background image in python
body: <p>I'm trying to add a background image to a canvas in Python. So far the code looks like this:</p>
  
  <pre><code>from Tkinter import *
  from PIL import ImageTk,Image
  
  ... other stuffs
  
  root=Tk()
  canvasWidth=600
  canvasHeight=400
  self.canvas=Canvas(root,width=canvasWidth,height=canvasHeight)
  backgroundImage=root.PhotoImage("D:\Documents\Background.png")
  backgroundLabel=root.Label(parent,image=backgroundImage)
  backgroundLabel.place(x=0,y=0,relWidth=1,relHeight=1)
  self.canvas.pack()
  root.mainloop()
  </code></pre>
  
  <p>It's returning an AttributeError: PhotoImage</p>