May-20-2018, 12:31 AM
PS I just took a second look - I don't know why I did not suggest
url_template = http://api.wunderground.com/api/88fb15b49e765a43/conditions/q/{State}/{City}.json" .... url = requests.get(url_template.format(**row))
Test everything in a Python shell (iPython, Azure Notebook, etc.)
- Someone gave you an advice you liked? Test it - maybe the advice was actually bad.
- Someone gave you an advice you think is bad? Test it before arguing - maybe it was good.
- You posted a claim that something you did not test works? Be prepared to eat your hat.