This is a basic calculator application built using Tkinter, the standard GUI toolkit for Python. It supports basic arithmetic operations, square root, trigonometric functions, and exponentiation.
- Addition, subtraction, multiplication, and division.
- Square root, sine, cosine, and tangent functions.
- Exponentiation using the '^' symbol.
- Clear button to reset the input.
- Delete button to remove the last entered character.
- Error handling for invalid expressions.
-
Clone the repository to your local machine:
git clone https://github.com/your-username/simple-calculator-tkinter.git
-
Navigate to the project directory:
cd simple-calculator-tkinter -
Run the calculator:
python calculator.py
-
Use the buttons to input expressions and see the results in the entry field.
Dependencies
- Python 3.x
- Tkinter