Skip to content

“A professional OOP-based calculator with exception handling and history tracking, built in Python.”

Notifications You must be signed in to change notification settings

eldento/Python-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Professional Python Calculator

This project is a console-based calculator application developed in Python.
It is built with object-oriented programming principles, includes error handling, operation history, undo functionality, and user login.

Features

  • Object-oriented structure using the Calculator class
  • Custom exception handling (DivisionError, InvalidOperationError)
  • Operation history tracking and undo functionality
  • Personalized user login (greets the user by name)
  • Colored terminal output using colorama
  • Clean and modular project structure

Project Structure

HesapMakinesi/ │ ├── calculator.py # Core arithmetic operations
├── exceptions.py # Custom exception classes
├── utils.py # Helper functions
├── main.py # Main program and user interaction
│ ├── requirements.txt # Dependencies
├── .gitignore # Ignored files for Git
└── README.md # Project documentation

How to Run

  1. Install dependencies:
    pip install -r requirements.txt
    
  2. Run the main program:

python HesapMakinesi/main.py

Author Efe Mustafa Taş Antalya, Turkey

About

“A professional OOP-based calculator with exception handling and history tracking, built in Python.”

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages