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('??', '???????')
评论列表
文章目录