from pyowm import OWM
from pyowm.utils.config import get_default_config
place = input(" Введите город/страну: ")
config_dict = get_default_config()
config_dict['language'] = 'ru'
owm = OWM( ' Api-key ', config_dict )
mgr = owm.weather_manager()
observation = mgr.weather_at_place(place)
w = observation.weather
print(w)
from pyowm import OWM
from pyowm.utils.config import get_default_config
place = input(" Введите город/страну: ")
config_dict = get_default_config()
config_dict['language'] = 'ru'
owm = OWM( 'API-Key', config_dict )
mgr = owm.weather_manager()
observation = mgr.weather_at_place(place)
w = observation.weather
print(w)