title: Read csv, then enumerate
body: <p>At the moment, I have a list directly in my code and am using enumerate so I can use the list index numbers for the user to select one of the items. Looks like this (just header row included)</p>
  
  <pre><code>fmpList = [['Date', 'ID', 'Plot No', 'Modified', 'Lat', 'Long']......
  for item in enumerate(fmpList[]):            
      print "[%d] %s" % item
  </code></pre>
  
  <p>This works well but I don't want to put the list in the function but rather to read the csv from file. The alternative I used to do this is...</p>
  
  <pre><code>import csv
  with open ('fmpList.csv', 'rU') as csvfile: 
          next (csvfile, None)
          plotlist = csv.reader(csvfile, delimiter=',', dialect=csv.excel_tab)
          for row in enumerate (plotlist):
              print '[%s]' %(item[2])
  </code></pre>
  
  <p>This also works but I can't seem to combine the 2... read the csv file in, then enumerate to be able to have a selection based on index.
  Help would be greatly appreciated</p>
  
  <p>EDIT:
  So now I've got working code as I wanted...</p>
  
  <pre><code>import csv
  with open ('fmpList.csv', 'rU') as csvfile: 
          next (csvfile, None)
          plotlist = csv.reader(csvfile, delimiter=',', dialect=csv.excel_tab)
          for row in enumerate (plotlist):
              print '[%s]' %(item[2])
  </code></pre>
  
  <p>But the last line is not giving me column 2 only displayed. In fact, I'm after column 0 (the index no) and 2 (the plot name). [0] gives the first column...cool, but any number greater than 1 gives IndexError: ..out of range. Tried every combo but nothing works</p>