Tutorials

Read, Parse & Write YAML Files Using Python 3 & pyyaml

Read, Parse & Write YAML Files Using Python 3 & pyyaml

First of all, install the pyyaml package using pip in the command line. pip install pyyaml code.py import yaml with…

July 7, 2022

Modify/Update YAML Files Using Python 3 & ruamel.yaml

If you want to preserve the order of your mapping keys, the white space between the elements of the root-level…

July 7, 2022

Skip Youtube Ads Using OpenCV, PyAutoGUI & Python 3 AdBlocker

The below-mentioned Python 3 code-snippet allows you to skip/block Youtube ads. I've also used OpenCV and PyAutoGUI libraries to implement…

July 7, 2022

Bypass CAPTCHA on Website Using Python 3 & Selenium

Today, you'll learn how to use Python 3 and Selenium to bypass CAPTCHA on a website. The full source code…

July 7, 2022

Bypass CAPTCHA on Website Using Python 3 & pytesseract OCR

The below Python 3 code-snippet allows you to bypass text/image CAPTCHA on a Website using the OCR (Optical Character Recognition)…

July 7, 2022

Skip the First Line in a Text File Using Python 3

By using the below Python 3 code snippet, you can easily skip the first line of a text file. code.py…

July 7, 2022

Find Random Lucky Draw Number Using Python 3 & random Module

Today I'll guide you on how to use Python 3 and random module to find Random Lucky Draw Number in…

July 7, 2022

Open Notepad App and Write Text into it Using Python 3, PyAutoGUI & pynput

In this tutorial, I'll use Python 3, PyAutoGUI & pynput to open the Notepad app and write text into it.…

July 7, 2022

Build Port Scanner For Domain Name in Python 3 pyfiglet

In this tutorial, I'll use Python 3 and pyfiglet library to create a port scanner for a given domain name…

July 7, 2022

Python 3 Find IP Address of Domain Name Using Socket Module

code.py import socket hostname = input("Please enter website address:\n") # IP lookup from hostname print(f'The {hostname} IP Address is {socket.gethostbyname(hostname)}')

July 7, 2022