A simple calculator built with Python and Tkinter that supports both mouse clicks and keyboard input. This project is ideal for beginners and can be used as a base for learning GUI development in Python.
- Basic arithmetic operations: addition, subtraction, multiplication, division.
- Keyboard support: Enter numbers and operators using your keyboard.
- Mouse support: Click buttons on the GUI to perform calculations.
- Error handling for invalid inputs.
- Clone this repository:
2. Navigate to the project folder
```bash
cd python-calculator
3. Install dependencies
```bash
pip install -r requirements.txt
4. Run the calculator with:
```bash
python calculator.py
# Use keyboard or mouse to input numbers and operators
# Press Enter or = to calculate
# Press C to clear the input