Tkinter Calculator
In this tutorial we will build a simple calculator using tkinter and python.
Modules needed
We will create two classes:
In this tutorial we will build a simple calculator using tkinter and python.
Modules needed
- tkinter
- tkinter is installed by default with python
- if it does not come with your version of python, it can be installed by
- Ubuntu - sudo apt install python3-tk
- MacOS - brew install python-tk
- Windows - pip install tk
- Note: Do a search for installing properly on your OS
- decimal
We will create two classes:
- Window
- Controller