A simple calculator GUI application built with Tkinter in Python.
This calculator application allows users to perform basic arithmetic calculations such as addition, subtraction, multiplication, and division. It also supports other functionalities like square root, percentage, and exponentiation. The application has a user-friendly interface with buttons for input and a display area to show the calculation results.
- Addition, subtraction, multiplication, and division
- Exponentiation (^)
- Square root (√)
- Percentage (%)
- Clear (C) button to clear the input field
- Error handling for invalid inputs
- Stylish buttons using ttk module
-
Clone the repository or download the
calculator.py
file. -
Make sure you have Python installed on your system.
-
Open a terminal or command prompt.
-
Navigate to the directory containing the
calculator.py
file. -
Run the following command:
-
The calculator application will open, and you can start performing calculations.
- Python 3.x
- Tkinter (usually comes pre-installed with Python)
python calculator.py
This project is licensed under the MIT License - see the LICENSE file for details.
Sajawal Mirza (https://github.com/Pro-Prompter)