title: Python CSV import with nested list creation
body: <p>I am trying to simply import a .csv into Python. I've read numerous documents but for the life of me I can't figure out how to do the following. </p>
  
  <p>The CSV format is as follows</p>
  
  <pre><code>NYC,22,55
  BOSTON,39,22
  </code></pre>
  
  <p>I'm trying to generate the following : {NYC = [22,55], BOSTON = [39,22]} so that I can call i[0] and i[1] in a loop for each variable. </p>
  
  <p>I've tried</p>
  
  <pre><code>import csv
  input_file = csv.DictReader(open("C:\Python\Sandbox\longlat.csv"))
  
  for row in input_file:
  print(row)
  </code></pre>
  
  <p>Which prints my variables, but I dont know hot to nest two numeric values within the city name and generate the list that im hoping to get. </p>
  
  <p>Thanks for your help, sorry for my rookie question -</p>