Skip to content

sasuniii0/Python-Hand-on-Pro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python-Hand-on-Pro

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.


Projects

1. AI Chatbot

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, or bye.

Usage:

python ai_chatbot.py

2. Modern Python Calculator

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

3. Drink Water Reminder

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

4. Millionaire Quiz Game

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

5. PDF Merger

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

Technologies & Libraries

  • Python 3.x

  • Tkinter (GUI)

  • OpenAI GPT API

  • Plyer (notifications)

  • PyPDF2 (PDF merging)

How to Run

  1. Clone the repository:
    git clone https://github.com/sasuniii0/Python-Hand-on-Pro

  1. Navigate to the project folder.
  2. Install required libraries:
    pip install openai plyer PyPDF2

  1. Run any project script as mentioned above.

Author

Sasuni Wijerathne
Passionate about Python development and building practical, user-friendly applications.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages