This repository hosts the code following the tutorial at https://realpython.com/python-pyqt-gui-calculator/#understanding-pyqt In case, the website is down. You can view the content in file pdf.