This repository contains several mini projects developed using Python. These projects cover a variety of applications including AI chat, utilities, productivity tools, and interactive games.
A command-line AI assistant built using OpenAI’s GPT API.
Features:
- Interactive conversation with context retention.
- Handles invalid input gracefully.
- Exit the chat anytime with
exit,quit, orbye.
Usage:
python ai_chatbot.py
A GUI-based calculator using Tkinter.
Features:
- Basic arithmetic: addition, subtraction, multiplication, division.
- Interactive buttons with hover effects.
- Error handling for invalid input and division by zero.
- Modern and user-friendly interface with responsive layout.
Usage:
python calculator.py
A simple Python script that reminds the user to drink water using system notifications.
Features:
- Sends periodic notifications to promote hydration.
- Works in the background with console output.
- Can be enhanced with a GUI for custom intervals and visual feedback.
Usage:
python water_reminder.py
A console-based multiple-choice quiz game.
Features:
- Tests general knowledge with questions and options.
- Provides immediate feedback for correct or wrong answers.
- Simple interactive gameplay.
Usage:
python millionaire_game.py
A utility script to merge multiple PDF files into a single document using PyPDF2.
Features:
- Merge multiple PDFs sequentially.
- User input for file names.
- Saves the merged output as merged.pdf.
Usage:
python pdf_merger.py
-
Python 3.x
-
Tkinter (GUI)
-
OpenAI GPT API
-
Plyer (notifications)
-
PyPDF2 (PDF merging)
- Clone the repository:
git clone https://github.com/sasuniii0/Python-Hand-on-Pro
- Navigate to the project folder.
- Install required libraries:
pip install openai plyer PyPDF2
- Run any project script as mentioned above.
Sasuni Wijerathne
Passionate about Python development and building practical, user-friendly applications.