Skip to content

Repository files navigation

🐍 Python Mini Projects

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.


📂 Projects

✅ TO_DO_LIST.py

A GUI-based To-Do List application developed using Tkinter.

Features

  • Add new tasks
  • Delete selected tasks
  • Save tasks to a .txt file
  • 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

☑️ checkbox_todo.py

A checkbox-based To-Do application where completed tasks can be removed easily.

Features

  • 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

☕ cafeSystem.py

A simple command-line Cafe Billing System that allows users to order food items and generates the final bill.

Features

  • Displays a food menu
  • Accepts multiple orders
  • Calculates total bill automatically
  • Handles invalid menu selections
  • Prints itemized bill

Menu

Item Price
Pizza ₹120
Pasta ₹70
Burger ₹50
Salad ₹70
Coffee ₹60

Concepts Used

  • Dictionaries
  • Functions
  • Loops
  • Conditional Statements
  • User Input

🕒 digitalClock.py

A real-time Digital Clock created using Tkinter.

Features

  • 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()

✨ effects.py

A Sparkle Animation application built using Tkinter Canvas.

Features

  • Animated sparkling particles
  • Random flickering effect
  • Smooth animation
  • Purple color theme

Concepts Used

  • Tkinter Canvas
  • Random Module
  • Animation
  • Object-Oriented Programming

🧩 Sliding-Puzzle-Game.py

A Sliding Puzzle Game developed using Pygame.

Features

  • 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

🎰 slotMachine.py

A command-line Slot Machine game that simulates casino gameplay.

Features

  • Deposit virtual balance
  • Bet on up to 3 paylines
  • Adjustable betting amount
  • Random slot generation
  • Winning calculation
  • Balance tracking

Symbols

Symbol Frequency Multiplier
A 2
B 4
C 6
D 8

Concepts Used

  • Random Module
  • Dictionaries
  • Lists
  • Loops
  • Functions
  • Input Validation

📋 task_mgmt_app.py

A command-line Task Management application.

Features

  • Add tasks
  • Update existing tasks
  • Delete tasks
  • View all tasks
  • Interactive menu-driven system

Concepts Used

  • Lists
  • CRUD Operations
  • Loops
  • Functions
  • Conditional Statements

🛠️ Technologies Used

  • Python 3
  • Tkinter
  • Pygame
  • File Handling
  • Object-Oriented Programming (OOP)
  • Random Module
  • Time Module

📁 Project Structure

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

🚀 How to Run

Clone the repository:

git clone https://github.com/your-username/Python-Mini-Projects.git

Move into the project directory:

cd Python-Mini-Projects

Run any project:

python filename.py

Example:

python digitalClock.py

📚 What I Learned

These 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

🎯 Future Improvements

  • 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.

🤝 Contributions

Suggestions and improvements are always welcome. Feel free to fork the repository, open an issue, or submit a pull request.


📄 License

This repository is created for learning, practice, and educational purposes.


⭐ If you found these projects useful, please consider giving the repository a Star.

About

A collection of beginner-to-intermediate Python mini projects including GUI applications, games, and command-line tools built using Tkinter, Pygame, and core Python concepts to strengthen programming and problem-solving skills.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages