Read, Parse & Write YAML Files Using Python 3 & pyyaml
First of all, install the pyyaml package using pip in the command line. code.py
First of all, install the pyyaml package using pip in the command line. code.py
If you want to preserve the order of your mapping keys, the white space between the elements of the root-level sequence, and the comment, e.g. because this file is under revision control, then I would highly suggest you use ruamel.yaml Write your YAML code in a file called input.yaml. We are using this file inside … Read more
The below-mentioned Python 3 code-snippet allows you to skip/block Youtube ads. I’ve also used OpenCV and PyAutoGUI libraries to implement this project. At first, you must install PyAutoGUI and OpenCV Python libraries. To do so, simply execute the below commands in the command line. code.py
Today, you’ll learn how to use Python 3 and Selenium to bypass CAPTCHA on a website. The full source code of this project is given below. code.py
The below Python 3 code-snippet allows you to bypass text/image CAPTCHA on a Website using the OCR (Optical Character Recognition) technology. To implement OCR, I’ve used the pytesseract library. code.py
By using the below Python 3 code snippet, you can easily skip the first line of a text file. code.py
Today I’ll guide you on how to use Python 3 and random module to find Random Lucky Draw Number in the command line. code.py
In this tutorial, I’ll use Python 3, PyAutoGUI & pynput to open the Notepad app and write text into it. code.py
In this tutorial, I’ll use Python 3 and pyfiglet library to create a port scanner for a given domain name in the command line. The complete source code/script is available below. code.py