A professional collection of GUI and CLI-based Python applications, refactored for portability, modularity, and modern aesthetics. This repository demonstrates clean architecture, robust file handling, and modern UI development using CustomTkinter.
- π Precision Age Calculator - Real-time age calculation in years, months, days, and seconds using a modern dark-mode UI.
- β° Elegant Digital Clock - A clean, persistent desktop clock widget with time validation.
- π Student Management System - A robust CLI database system for managing student and instructor records with file persistence.
- πΌοΈ Modern Assets - Integrated PNG icon support using
Pillowfor cross-platform compatibility. - π Modular Architecture - Clean separation of concerns with dedicated
src,assets, anddatadirectories. - π§ Cross-Platform - portable file paths and universal dependency management.
| Technology | Version | Purpose |
|---|---|---|
| Python | 3.11+ | Core programming language |
| CustomTkinter | 5.2.0 | Modern macOS-style UI framework |
| Pillow | Latest | Advanced image processing & icon support |
| TkCalendar | 1.6.1 | Date selection widget |
| OS/Sys | Std Lib | Cross-platform file path handling |
Python/
βββ π README.md # Project documentation
βββ π .gitignore # Git ignore patterns
βββ π LICENSE # License details
β
βββ π age_calculator/ # π
Age Calculator App
β βββ π README.md # Component documentation
β βββ π requirements.txt # Component dependencies
β βββ π src/
β β βββ main.py # Application entry point
β βββ π assets/
β βββ icon.png # App icon
β
βββ π clock/ # β° Digital Clock App
β βββ π README.md
β βββ π requirements.txt
β βββ π src/
β β βββ main.py
β βββ π assets/
β βββ icon.png
β
βββ π student_instructor/ # π Management System
βββ π README.md
βββ π requirements.txt
βββ π src/
β βββ main.py
βββ π data/ # Data persistence layer
βββ instructor.txt
βββ studentpy.txt
- Python 3.11 or higher
- pip (Python package manager)
-
Clone the repository
git clone https://github.com/3bsalam-1/Python-Mini-Projects.git cd Python -
Create a virtual environment (recommended)
python -m venv venv # On Windows venv\Scripts\activate # On macOS/Linux source venv/bin/activate
-
Install dependencies Install all dependencies for GUI components:
pip install customtkinter tkcalendar pillow
Launch the modern GUI to calculate age precision.
python age_calculator/src/main.pyStart the desktop clock widget.
python clock/src/main.pyRun the CLI management tool for database operations.
python student_instructor/src/main.pyExample CLI Interaction:
--- Main Menu ---
1: Instructor Management
2: Student Management
3: Exit
Your choice: 2
Issue: ModuleNotFoundError: No module named 'customtkinter'
- Solution: Run
pip install customtkinterorpip install -r age_calculator/requirements.txt
Issue: _tkinter.TclError: couldn't recognize data in image file
- Solution: Ensure
pillowis installed:pip install pillow. The project uses Pillow to handle PNG icons.
Contributions are welcome! Here's how you can help:
- Fork the repository
- Create a feature branch:
git checkout -b feature/AmazingFeature - Commit your changes:
git commit -m 'Add some AmazingFeature' - Push to the branch:
git push origin feature/AmazingFeature - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
Ahmed Abdulsalam
- GitHub: @3bsalam-1
- LinkedIn: Ahmed Abdulsalam
β Star this repository if you find it helpful!
Made with β€οΈ by Ahmed Abdulsalam