title: How do I convert items in a .csv to a list in python
body: <p>I have a .csv file with a row and a column variable. The row is B1-K1 and the column is A2-A7. The actual data is from B2 to K7. I want to be able to put the values into a list and call them, if there is a way to number the data(B2-K7) in a pattern from 0,1,2,,3,4,5,0,1.... that would be good.</p>
  <pre><code>import csv
  file = open(r'C:/cpps/python project/prodata.csv')
  csvreader = csv.reader(file)
  header = next(csvreader)
  print(header)
  rows = []
  for row in csvreader:
      rows.append(row)
  print(rows)
  file.close()
  </code></pre>