This project is a simple weather application using Python, Tkinter, and the OpenWeatherMap API. The application allows users to select an Indian state and display the current weather, temperature, and humidity.
- Python 3.x
- Tkinter
- Pillow
- requests
-
Clone the repository:
git clone https://github.com/yourusername/weather-app.git cd weather-app
-
Install dependencies:
pip install pillow requests
To run this application, you need an API key from OpenWeatherMap. You can get one by signing up at OpenWeatherMap.
Replace the api_key
variable in the get_weather
function with your API key:
api_key = "your_openweathermap_api_key"