Skip to content

About

Easy Weather Update

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

easy-weather-update

Easy Weather Update

#Instruction 1 Install Python Make sure Python 3.8+ is installed. Check by running python --version (or python3 --version) in your terminal. If it's missing, download it from python.org — on Windows, tick 'Add Python to PATH' during install.

2 Create a project folder Make a folder for the project, e.g. weather-app, and place the three files inside it: weather.py (CLI), weather_gui.py (desktop GUI), and requirements.txt.

3 Open a terminal in that folder On Windows: Shift+Right-click inside the folder → 'Open PowerShell/Terminal here'. On macOS/Linux: cd into the folder path from Terminal.

4 Install dependencies Run pip install -r requirements.txt (or pip3 on macOS/Linux). This installs the requests library, the only external dependency — Tkinter for the GUI ships with Python already.

5 (Linux only) Install Tkinter if missing If running the GUI gives ModuleNotFoundError: No module named 'tkinter', install it with sudo apt install python3-tk (Debian/Ubuntu) or sudo dnf install python3-tkinter (Fedora). Not needed on Windows or macOS.

6 Run the app For the terminal version: python weather.py "London" for one city, or just python weather.py to enter dynamic mode and keep checking cities. For the desktop GUI: python weather_gui.py opens a window — type a city and hit Enter or click Search.

7 Push to GitHub Initialize a repo (git init), add a .gitignore for __pycache__/, then git add ., git commit -m "Initial commit", create a new repo on GitHub, and push with git remote add origin <your-repo-url> followed by git push -u origin main.

About

Easy Weather Update

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages