2 # -*- coding: utf-8 -*-
9 owm
= pyowm
.OWM("8c59eae6498ac60139316ea4e2c9a82b")
10 observation
= owm
.weather_at_place('Mecca, SA')
11 w
= observation
.get_weather()
12 temp
= w
.get_temperature("celsius")
13 print(str(temp
["temp"]) + symbol_celsius
)
17 # create a file store last temp
22 print("--" + symbol_celsius
)