This is a simple weather application that uses the OpenWeatherMap API to fetch weather data for a given city and displays it using a Tkinter GUI.
-
Enter the name of a city to get its current weather details.
-
Displays weather description, temperature, and humidity.
-
Provides a user-friendly interface.
-
Python 3
-
Tkinter library
-
requests
library
- Clone this repository to your local machine.
https://github.com/Ananyasingh2002/PythonWeatherForecast.git
cd PythonWeatherForecast
- Install the required libraries if you haven't already.
pip install requests
-
Replace API_KEY with your OpenWeatherMap API key in the Weather.py file.
-
Run the application.
python Weather.py
-
Launch the application.
-
Enter the name of a city in the input field.
-
Press the "Get Weather" button or press Enter to fetch and display weather information.
Contributions are welcome! If you find a bug or want to add a new feature, feel free to create an issue or submit a pull request.