#pythoncourse #python #pythontutorial
This is a beginner's python project to help you practice working with PyQt5 and making API requests.
https://openweathermap.org/
00:00:00 introduction
00:00:22 Openweather API key
00:01:14 pip install PyQt5
00:01:44 imports
00:03:19 class WeatherApp
00:03:52 if __name__ == "__main__"
00:05:35 START HERE
00:09:09 initUI()
00:12:13 CSS styling
00:17:37 method declarations
00:18:28 get_weather button
00:19:34 request API data
00:24:49 HTTP exception handling
00:32:00 RequestException
00:34:36 display_error()
00:37:24 display_weather()
00:44:02 get_weather_emoji()
00:52:24 clean up
Смотрите видео Let's code a WEATHER APP in Python! ☀️ онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Bro Code 08 Август 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 23,791 раз и оно понравилось 615 людям.