how to display current weather condition of any country using open weather api and python
HTML-код
- Опубликовано: 18 сен 2024
- In this video, I have shown you how to display the current weather condition of any city in a GUI using open weather API and python
package required: requests
source code : github.com/har...
related questions :
* Getting started with OpenWeatherMap API - python script
* Using Weather API in Python in 6 Lines of Code | OpenWeatherMap API
* Python Requests Tutorial - How to Call a Weather API
* Weather App - Django Tutorial (Using Python Requests)
* Python Weather Forecast With Pywapi API
* How to get Weather forecast in python?
tags : #open_weather_api #python_api_project #i_know_python
This is GREAT. worked successfully with zero errors
tnx for you GREAT work man, thats real help me to keep learning
Lovely ❤️❤️❤️❤️❤️❤️❤️❤️
Hello, very good video, thanks , can you tell me which app do you use to edit videos ?
You can use obs for recording
The python file does not run on windows powershell
specify your error
@@Iknowpython Rather than showing an error , it shows the directory of python file containing folder
Thanks
welcome
Hi Men, thank you for sharing, however I'm getting this errors
" (venv) C:\Users\IA\Dropbox\Casa\weather>1.py
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Users\IA\AppData\Local\Programs\Python\Python37-32\lib\tkinter\__init__.py", line 1705, in __call__
return self.func(*args)
File "C:\Users\IA\Dropbox\Casa\weather\1.py", line 11, in weather
weather_status = output['weather'][0]['description']
KeyError: 'weather'
"
Thank you in advance for any clues!
Use Capital Letter for City name and Url should be api.openweathermap.org/data/2.5/weather?q={}&appid=
Bro pls tell what compiler ur using.
He was using "Sublime Text"
I got a ModuleNotFoundError:No module named 'requests'
What to do bro?
have you pip installed requests ???
@@Iknowpython yeah bro but it didn't work in python interpreter. So I ran the program in cmd ,it worked and I got the output☺️. Thank you bro
you are writing the code in which platform
Do you mean editor , i am using sublime text
Sir I want database for this