Python and PyQt5: Create a window with labels, input fields and a coloured background
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 made in Visual Studio Code within a virtual environment.
The most important commands in working with your virtual environment are:
1. Create your virtual environment
> py -m venv env
2. Activate your virtual environment
> env\Scripts\activate
3. Go to View > select Command Palette > Select Python Interpreter > (env:venv)
3. Run your application
> py main.py
Output
Code
Resource:
https://realpython.com/python-pyqt-gui-calculator/
Comments
Post a Comment