pyBegin / projects / calculator-gui-with-python
🧮

Calculator GUI With Python

A graphical calculator built with the Kivy framework, featuring a button grid, an evaluation display, and a clear button.

67 lines🖥 Desktop only

Calculator GUI With Python

A graphical calculator built with the Kivy framework, featuring a button grid, an evaluation display, and a clear button.

Example

  1. Run python app.py. A Kivy window opens with a display label at the top and a 4-column grid of buttons (19, 0, +, -, *, /, ., =) plus a Clear button at the bottom.
  2. Click 7, *, 6 — the display shows 7*6.
  3. Click = — the display updates to 42.
  4. Click Clear to reset the display and start a new calculation.

How to run on localhost

pip install kivy
python app.py

Dependencies