python全球天气预报

import urllib.request as r #导入联网工具包,命名为r url= ‘http://api.openweathermap.org/data/2.5/weather?q=hebi&mode=json&units=metric&lang=zh_cn&APPID=6a67ed641c0fda8b69715c43518b6996’ data =r.urlopen(url).read
相关文章
相关标签/搜索