A calculator window application built with Python 3.11 and its standard library tkinter.
- Basic arithmetic: addition, subtraction, multiplication, division
- Percentage and sign toggle
- Clear (
C) and Clear Entry (CE) - Real-time expression preview on the top label
- Keyboard-friendly – every button has an on-screen counterpart
- Cross-platform – runs on Windows, macOS, and Linux without modification
- Python 3.7+ (no external packages needed)
git clone https://github.com/Adamo1209/TkinterCalculator.git
cd TkinterCalculator
python3 TkinterCalculator.py- Numbers & operators: click or use the keyboard.
- Expression preview: the top label shows the ongoing calculation.
- Equals (
=): computes the result and displays it in the main area. - Clear (
C): resets the entire expression. - Clear Entry (
CE): deletes only the last entry.
TkinterCalculator/
├── TkinterCalculator.py # source code
├── calculator.png # window icon
└── README.md