https://github.com/iiiioreo/modern-calculator
Simple modern calculator implemented in Python using Tkinter for basic arithmetic operations with a user-friendly interface, keyboard input support, and error handling.
https://github.com/iiiioreo/modern-calculator
arithmetic-operations calculator error-handling interface math python tkinter ui
Last synced: about 2 months ago
JSON representation
Simple modern calculator implemented in Python using Tkinter for basic arithmetic operations with a user-friendly interface, keyboard input support, and error handling.
- Host: GitHub
- URL: https://github.com/iiiioreo/modern-calculator
- Owner: iiiiOreo
- Created: 2024-02-23T12:16:24.000Z (over 2 years ago)
- Default Branch: Main
- Last Pushed: 2024-02-23T13:23:53.000Z (over 2 years ago)
- Last Synced: 2025-03-30T12:30:10.979Z (about 1 year ago)
- Topics: arithmetic-operations, calculator, error-handling, interface, math, python, tkinter, ui
- Language: Python
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Modern Calculator with Tkinter
This is a basic calculator application built using Python's Tkinter library. The calculator provides a user-friendly interface with standard arithmetic operations (addition, subtraction, multiplication, division) and supports both keyboard input and button clicks.
## Features:
### User-Friendly Interface:
The calculator has a clean and intuitive user interface with a display to show the entered expressions and results.
### Basic Arithmetic Operations:
Addition, subtraction, multiplication, and division are supported.
### Keyboard Input:
Users can input calculations using both the on-screen buttons and the keyboard.
### Clear and Equal Button:
The calculator includes buttons for clearing the input and evaluating the expression.
### Error Handling:
The calculator handles basic errors, such as division by zero, and displays appropriate messages.
## How to Run:
Ensure you have Python installed on your machine.
Clone the repository: git clone [https://github.com/your-username/calculator.git](https://github.com/iiiiOreo/Modern-Calculator.git)
Navigate to the project directory: cd calculator
Run the calculator: python calculator.py
Feel free to explore the code and make any enhancements or modifications. Contributions are welcome!