Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- with open('xxx.csv', newline='') as csvfile:
- #spamreader = csv.reader(csvfile, delimiter=',', quotechar='|')
- reader = csv.DictReader(csvfile)
- for row in reader:
- print(row)
- #print(', '.join(row))
- #print(row['support'], row['time'])
- OrderedDict([('support', 'name-here'), (' "time"', ' 2')])
Add Comment
Please, Sign In to add comment