🔰 This project showcases software development with Python, helping to understand Python programming, GUI creation in Python, and API integration.
🔰 To run this code on your PC, you need to install all the required Python libraries.
🔰 The API used in this project is from OpenWeatherMap.
🛑 NOTE: THIS WON'T WORK IF YOU HAVEN'T INSTALLED PYTHON AND ITS MAIN LIBRARIES
Required Libraries:
pyinstallertkinterrequestsbootstrappytztimezonefilegeopy
All important libraries are included in this app.
❗NOTE: I also created an executable file (.exe) in case the script doesn't work. You can download the .exe zip file from my website. 1️⃣ 👉 [Download link](# Weather App in Python
🔰 This project showcases software development with Python, helping to understand Python programming, GUI creation in Python, and API integration.
🔰 To run this code on your PC, you need to install all the required Python libraries.
🔰 The API used in this project is from OpenWeatherMap.
🛑 NOTE: THIS WON'T WORK IF YOU HAVEN'T INSTALLED PYTHON AND ITS MAIN LIBRARIES
Required Libraries:
pyinstallertkinterrequestsbootstrappytztimezonefilegeopy
All important libraries are included in this app.
❗NOTE: I also created an executable file (.exe) in case the script doesn't work. You can download the .exe zip file from my website. 1️⃣ 👉 Download link (Projects section) ❗❕ If you download the .exe zip file, Windows Defender might trigger a warning because it does not recognize the file as an executable. ❗
⭕ To resolve this, you need to grant permission to Windows Defender to allow the file on your device. ⭕
2️⃣ After installing the .exe zip file, extract all files from it, then run the main.exe file as administrator. 🛑 If it doesn't run, drag the img-folder into the main.exe file and try again.
import tkinter as tk
import requests
import ttkbootstrap
import pytz
from tkinter import *
from tkinter import messagebox
from PIL import Image, ImageTk
from datetime import datetime
) (Projects section)
❗❕ If you download the .exe zip file, Windows Defender might trigger a warning because it does not recognize the file as an executable. ❗
⭕ To resolve this, you need to grant permission to Windows Defender to allow the file on your device. ⭕
2️⃣ After installing the .exe zip file, extract all files from it, then run the main.exe file as administrator.
🛑 If it doesn't run, drag the img-folder into the main.exe file and try again.
## Imported Libraries
```python
import tkinter as tk
import requests
import ttkbootstrap
import pytz
from tkinter import *
from tkinter import messagebox
from PIL import Image, ImageTk
from datetime import datetime