csv reader url

Solutions on MaxInterview for csv reader url by the best coders in the world

showing results for - "csv reader url"
Finn
26 Sep 2019
1import csv
2import urllib2
3
4url = 'http://winterolympicsmedals.com/medals.csv'
5response = urllib2.urlopen(url)
6cr = csv.reader(response)
7
8for row in cr:
9    print row