Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def find_csv_row(reader, col, val):
- for csvrow in reader:
- if csvrow[col] == val:
- print(csvrow)
- return csvrow
- print("Returning none")
- return None
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement