SyntaxFix
Write A Post
Hire A Developer
Questions
You could do it with the requests module as well:
url = 'http://winterolympicsmedals.com/medals.csv' r = requests.get(url) text = r.iter_lines() reader = csv.reader(text, delimiter=',')