Skip to content

A beginner-friendly calculator built with Python and Tkinter, supporting both mouse clicks and keyboard input. Ideal for beginners to learn GUI development and Python programming.

Notifications You must be signed in to change notification settings

sheher-codes/Calulator-using-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Python Calculator with GUI

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.

Features

  • 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.

Installation

  1. 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

About

A beginner-friendly calculator built with Python and Tkinter, supporting both mouse clicks and keyboard input. Ideal for beginners to learn GUI development and Python programming.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages