Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import csv
- file = open('simple.csv', 'r')
- reader = csv.DictReader(file)
- value = 'Stargate Command'
- for row in reader:
- if row['Group'] == value:
- print row
- file.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement