Python GUI Calculator : Turn script into Python executable
This was less than two hundred lines of code, however because the script is broken up into pieces, to explain everything:
1. Pay attention to indentation.
2. Pay attention to the libraries you import, as these can be easily missed.
End Result:
- You will have to use the command pip install pyinstaller in the terminal within your virtual environment.
- Then run either one of the commands below.
Script for the GUI calculator can be obtained from:
https://realpython.com/python-pyqt-gui-calculator/
Comments
Post a Comment