Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import csv
- import time
- filename = ("/code/SouthParkData/All-seasons.csv")
- with open(filename) as file:
- reader = csv.DictReader(file, fieldnames=['season', 'episode', 'speaker$
- randySeasonOne = {}
- for row in reader:
- if row['speaker'] == 'Randy' and row['season'] == '1':
- print(row['speaker'])
- print(row['line'])
- time.sleep(.125)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement