📅  最后修改于: 2022-03-11 15:03:06.777000             🧑  作者: Mango
import urllib.request, json
with urllib.request.urlopen("http://maps.googleapis.com/maps/api/geocode/json?address=google") as url:
data = json.loads(url.read().decode())
print(data)