Skip to content

tomiwa-adesanya/python-calculator-gui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Python GUI Project: Calculator

Overview

Graphical User Interface also known as GUI(pronounced as gee-uu-eye) is a visual representation of interactive components of a computer program. GUI enables non-programmers to easily interact with computer programs with the use of interactive visual components such as buttons, toolbars, menus, textboxes, etc.

This GUI project aims at creating an easy to use calculator graphical user interface that is used to evaluate arithmetic expressions. The GUI consists of:

  • a root window container that holds all other GUI widgets/components.
  • An entry/textbox where users type arithmetic expressions to be evaluated.
  • Buttons to input several values into textbox when clicked and a button to get solution-to the arithmetic expression typed in the textbox-when clicked.

Getting started

Requires any version of Python. All the packages used in the source code are python built-ins, so 3rd Party Packages/Libraries are not required.

Clone this repository unto your local device or just download the raw main.py.

Run main.py and this should automatically create the GUI window.

If you don't have python installed in your computer, you can run the executable I have created from the source code without having python installed in your computer to use program.

To run executable:
STEP 1: download the zipped executable components from here.
STEP 2: unzip file file and search for main.exe.
STEP 3: run main.exe by double clicking on it.

GUI Shortcuts:

  • Ctrl+W to close GUI window.
  • Backspace to delete last value typed in the textbox.
  • Ctrl+Alt+Backspace to clear textbox inputs.
  • Enter to evaluate arithmetic equation.

GUI Preview

Preview 1:

gui-preview-1

Preview 2:

gui-preview-2

About

Python GUI project - Building a Calculator GUI with python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages