weather.py 文件源码

python
阅读 26 收藏 0 点赞 0 评论 0

项目:Python-Weather-Report 作者: manifoldQAQ 项目源码 文件源码
def click_change_city(current_city, city_name, window):
    global curr_weather
    for city in weather.city_list:
        if city[2].decode('utf8') == city_name:
            current_city.set(city_name)
            curr_weather = weather.query_city(city_name)
            update_weather()
            window.destroy()
            return
    tkMessageBox.showinfo('??', '???????')
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号