Skip to content

Commit 6964fca

Browse files
committed
#
1 parent 5b0c628 commit 6964fca

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tkinter_examples/weather_example.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
__author__ = 'ipetrash'
55

66

7+
API_KEY = '87c7712a9b72646a269102230858837b'
8+
9+
710
def get_weather_info(api_key, place):
811
import pyowm
912
owm = pyowm.OWM(api_key)
@@ -15,9 +18,6 @@ def get_weather_info(api_key, place):
1518
return temperature, status
1619

1720

18-
API_KEY = '87c7712a9b72646a269102230858837b'
19-
20-
2121
from tkinter import *
2222
root = Tk()
2323
root.title('Погода')

0 commit comments

Comments
 (0)