Advertisement
Guest User

Untitled

a guest
Nov 11th, 2019
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.25 KB | None | 0 0
  1. import csv
  2.  
  3. csvdata = []
  4.  
  5. with open('Testdata.csv',newline='') as csvfile:
  6.   reader = csv.DictReader(csvfile)
  7.   csvdata = list(reader)
  8.  
  9. for row in csvdata:
  10.     #first loop stuff
  11.    
  12. for row in csvdata:
  13.     #can do again because its a stored list
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement