A simple yet modern calculator built using Python and the Tkinter library. It features a sleek design, key press support, and a user-friendly interface.
- Key Press Support: You can use your keyboard to input numbers and operations.
- Modern Design: A clean, modern UI to make your calculations more enjoyable.
If you’re on Windows, you can skip the installation and directly download the .exe file from the Releases section of this repository. Just download and run the executable!
If you prefer to run from source or you're on a different OS, follow these steps:
Clone the repository to your local machine:
git clone https://github.com/AnthonyCotales/calculator.git
cd calculatorYou need to ensure that the .ttf font file is installed on your system:
cd calculator/assets/font/PocketCalculator.ttfClone the repository to your local machine:
python main.pyOnce the app is running, you can use the buttons on the screen or type directly on your keyboard to perform calculations. The calculator supports basic arithmetic operations like addition, subtraction, multiplication, and division.
| Shortcut | Button | Description |
|---|---|---|
| Insert | C | Clear All |
| Delete | CE | Clear Entry |
| Home | MRC | Memory Recall |
| End | MRC | Memory Clear |
| Ctrl + | M+ | Memory Add |
| Ctrl - | M- | Memory Subtract |
| Page Up | % | Percentage |
| Page Down | √ | Square Root |
| Pause Break | +/- | Plus-Minus (Negate) |
| Enter | = | Equals (Get Result) |
(Add a screenshot here if you want, like this:)