Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # pogoda
- from pyowm import OWM
- owm = OWM('f39e36afa4932e6fc8d6326346f718d7')
- mgr = owm.weather_manager()
- place = input('Vashe mesto ')
- # Search for current weather in London (Great Britain) and get details
- observation = mgr.weather_at_place(place)
- w = observation.weather
- print(w)
Advertisement
Add Comment
Please, Sign In to add comment