title: Why do I get : 'ImageDraw' object has no attribute 'Image'?
body: <p>I'm trying to get my python code to draw me a picture.
  I'm having trouble editing pixels. Not sure why. How should I change certain pixels in my image?</p>
  
  <p>Here is my error: </p>
  
  <pre><code>Traceback (most recent call last):
  File "ball.py", line 64, in 
  pixdata = image.Image.load()
  AttributeError: 'ImageDraw' object has no attribute 'Image'
  </code></pre>
  
  <p>I wanted to use <code>putpixel()</code>, but that gave me the same error that I have now.
  I have <code>pil</code> installed (checked with --version)</p>
  
  <p>Fragments of code:</p>
  
  <pre class="lang-py prettyprint-override"><code>from PIL import Image, ImageDraw
  
  pixdata = image.Image.load()
  
  for i in range(distance):
      pixdata[x, y] == (255, 255, 255)
  </code></pre>
  
  <p>I expected a picture to appear in my folder... but I get an empty picture because the pixel changing causes errors.</p>