forked from tdwojak/Python2017
18 lines
285 B
Python
18 lines
285 B
Python
#task04
|
|
|
|
from weather import Weather
|
|
|
|
weather = Weather()
|
|
|
|
miasto ='Buk'
|
|
location = weather.lookup_by_location(miasto)
|
|
|
|
condition = location.condition()
|
|
|
|
print(condition.text())
|
|
|
|
data = condition.date()
|
|
dzien_slownie = data[0:3]
|
|
dzien = data[5:7]
|
|
miesiac = data[8:11]
|
|
rok = data[12:16] |