A collection of beginner-to-intermediate Python projects built while learning Python fundamentals, GUI development, game development, and file handling. These projects helped strengthen my understanding of Python programming, object-oriented programming, Tkinter, Pygame, and problem-solving.
A GUI-based To-Do List application developed using Tkinter.
- Add new tasks
- Delete selected tasks
- Save tasks to a
.txtfile - Load previously saved tasks
- Simple purple-themed user interface
- Uses file handling for task persistence
Concepts Used
- Tkinter
- File Handling
- Listbox
- Message Boxes
- File Dialog
A checkbox-based To-Do application where completed tasks can be removed easily.
- Add unlimited tasks
- Mark tasks as completed using checkboxes
- Delete all completed tasks with one click
- User-friendly interface
- Purple-themed design
Concepts Used
- Tkinter
- Checkbuttons
- Frames
- Event Handling
A simple command-line Cafe Billing System that allows users to order food items and generates the final bill.
- Displays a food menu
- Accepts multiple orders
- Calculates total bill automatically
- Handles invalid menu selections
- Prints itemized bill
| Item | Price |
|---|---|
| Pizza | ₹120 |
| Pasta | ₹70 |
| Burger | ₹50 |
| Salad | ₹70 |
| Coffee | ₹60 |
Concepts Used
- Dictionaries
- Functions
- Loops
- Conditional Statements
- User Input
A real-time Digital Clock created using Tkinter.
- Live time display
- Displays current date
- Updates every second automatically
- Simple purple-themed interface
Concepts Used
- Tkinter
- Time Module
- Label Widgets
- GUI Refresh using
after()
A Sparkle Animation application built using Tkinter Canvas.
- Animated sparkling particles
- Random flickering effect
- Smooth animation
- Purple color theme
Concepts Used
- Tkinter Canvas
- Random Module
- Animation
- Object-Oriented Programming
A Sliding Puzzle Game developed using Pygame.
-
Three difficulty levels
- 4×4
- 5×5
- 6×6
-
Automatically generates solvable puzzles
-
Smooth tile sliding animation
-
Purple-themed UI
-
Win detection
-
Level progression
-
Winning animation
Concepts Used
- Pygame
- Game Loop
- Grid Logic
- Animation
- Randomization
- Puzzle Algorithms
A command-line Slot Machine game that simulates casino gameplay.
- Deposit virtual balance
- Bet on up to 3 paylines
- Adjustable betting amount
- Random slot generation
- Winning calculation
- Balance tracking
| Symbol | Frequency | Multiplier |
|---|---|---|
| A | 2 | 5× |
| B | 4 | 4× |
| C | 6 | 3× |
| D | 8 | 2× |
Concepts Used
- Random Module
- Dictionaries
- Lists
- Loops
- Functions
- Input Validation
A command-line Task Management application.
- Add tasks
- Update existing tasks
- Delete tasks
- View all tasks
- Interactive menu-driven system
Concepts Used
- Lists
- CRUD Operations
- Loops
- Functions
- Conditional Statements
- Python 3
- Tkinter
- Pygame
- File Handling
- Object-Oriented Programming (OOP)
- Random Module
- Time Module
Python-Mini-Projects/
│
├── TO_DO_LIST.py
├── cafeSystem.py
├── checkbox_todo.py
├── digitalClock.py
├── effects.py
├── hekko.py
├── slotMachine.py
├── task_mgmt_app.py
└── README.md
Clone the repository:
git clone https://github.com/your-username/Python-Mini-Projects.gitMove into the project directory:
cd Python-Mini-ProjectsRun any project:
python filename.pyExample:
python digitalClock.pyThese projects helped me gain practical experience with:
- Python Programming
- GUI Development using Tkinter
- Game Development using Pygame
- Object-Oriented Programming
- File Handling
- Event-Driven Programming
- Working with Dictionaries and Lists
- Random Number Generation
- User Input Validation
- Basic Application Development
- Add SQLite database support for task management.
- Improve UI with custom themes.
- Add score tracking to the Slot Machine game.
- Enhance the Cafe System with quantity selection and invoice generation.
- Add sound effects and timer to the Sliding Puzzle game.
Suggestions and improvements are always welcome. Feel free to fork the repository, open an issue, or submit a pull request.
This repository is created for learning, practice, and educational purposes.
⭐ If you found these projects useful, please consider giving the repository a Star.