Skip to content

About

A very basic calculator app made with Python.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

26 Commits

Folders and files

Repository files navigation

Tkinter Calculator App

Features

  • Basic arithmetic: addition, subtraction, multiplication, division
  • Clickable buttons and keyboard input support
  • Clear (C) and Backspace (⌫) functionality
  • Error handling (ex. division by zero)
  • Cross-platform (Windows executable, the Python script also runs on macOS/Linux)

Run from Source

python main.py

Use the Windows Executable

Simply double-click Calculator.exe or run:

./Calculator.exe

Usage

  • Click buttons or type numbers/operators on your keyboard.
  • Press = or Enter to evaluate.
  • Press C to clear all input.
  • Press Backspace (⌫) to delete the last character.

Keyboard Shortcuts

Key Action
0–9 Enter digits
+, -, *, / Enter operators
Enter, = Evaluate expression
Backspace Delete last character
C, c Clear input

Building from Source

This executable was created using PyInstaller.

pip install pyinstaller
pyinstaller --onefile --windowed --icon=icon.ico main.py

The standalone executable will be in the dist/ folder.

About

A very basic calculator app made with Python.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages