title: Create a dictionary from a csv file in python 3
body: <p>I am using Python 3.2 with a Mac OS Maverick and I am trying to get a .cvs file with this format:</p>
  
  <pre><code>'Lisa plowed ', '1A', 'field', 'field', 'field', 'field', 'field'
  'John greased ', '1A', 'axle', 'wheel', 'wheels', 'wheel', 'engine'
  'Tracy freed ', '1A', 'animals', 'fish', 'slaves', 'slaves', 'slaves'
  'Paul alleged ', '1A', 'truth', 'crime', 'facts', 'infidelity', 'incident'
  </code></pre>
  
  <p>into a dictionary, with the first item in each row being the key and the remainder of the row being values mapped to that key. 
  I have tried different things, and the closest I got was with this code, but unfortunately, I am not there yet:</p>
  
  <pre><code>   import csv
  
     data =open('test.csv', encoding = 'utf=8')
     reader = csv.reader(data, delimiter=",")
     for col in reader:
         print(col)
     result = {}
     for row in reader:
         key = row[0]
  
         result[key] = row[1:]
     print(result)
  </code></pre>
  
  <p>the result I got is just {} as if the dictionary was empty.
  I would really appreciate any help on this, either by offering a new alternative or referring me to where I can find an answer.
  Thanks a lot!</p>