Posts

Showing posts from June, 2022

Python - Using PyQt5 to make a button to print "Hello world"

Image
  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 -------------------------------------------------------------------------------------- Screenshot before pressing the 'Greeting' button to show "Hello World". Screenshot after pressing the 'Greeting' button. The script - created in Visual Studio using a virtual environment.

C++ script - Using map container, user input for integer, string, and char key-value pairs.

Image
 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 --------------------------------------------------------------------------------------  The IDE that is being used is Visual Studio.

C++ - Using map container with user input to map a string and int.

Image
  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 -------------------------------------------------------------------------------------- When using the map container to map key-value pairs, you have to create separate maps if one key-value pair contains a string and one is an int. Used getline to show there is more than one way to map a key-value pair with user input.

Create a horizontal row of boxes using PyQt5 - Python

Image
 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 is a basic horizontal row of buttons built using PyQt5. If you would like the code to make this window, use the following link to Real Python's article: https://realpython.com/python-pyqt-gui-calculator/ The app was made in using Visual Studio Code as the IDE in 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. Run your application > python main.py

Using PyQt to create Hello World window - Python GUI application

Image
  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 is a basic window with the strings "Hello world" printed using PyQt5. If you would like the code to make this window, use the following link to Real Python's article: https://realpython.com/python-pyqt-gui-calculator/ The app was made in using Visual Studio Code as the IDE in 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. Run your application > py main.py