Guest User

Untitled

a guest
May 27th, 2022
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.29 KB | None | 0 0
  1. # pogoda
  2. from pyowm import OWM
  3. owm = OWM('f39e36afa4932e6fc8d6326346f718d7')
  4. mgr = owm.weather_manager()
  5.  
  6. place = input('Vashe mesto ')
  7.  
  8. # Search for current weather in London (Great Britain) and get details
  9. observation = mgr.weather_at_place(place)
  10. w = observation.weather
  11. print(w)
Advertisement
Add Comment
Please, Sign In to add comment