See the following files for the calculator GUI described in MVP (Model View Presenter).
Main module
Model.py
Presenter.py
View.py