You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
530 B

import urllib.request as request
import json
url = ""
# return render_template("weather-form.html")
with request.urlopen(url) as response:
data = json.load(response)
clist = data["records"]
clist2 = clist["locations"][0]
clist3 = clist2["location"]
for i in clist3:
for j in clist3: