Python GUI Calculator : Turn script into Python executable
Note: I would appreciate your support of this blog by going to the link below to "Buy me a pizza" so that I may continue to provide educational scripts, resources and general tech stuff. π
Thank you.
https://www.buymeacoffee.com/infosec_coder
--------------------------------------------------------------------------------------
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