Python Code Tutorials


articles/extract-youtube-videos-data-in-python.jpg
How to Extract YouTube Data in Python

Scraping YouTube videos and extracting useful video information such as title, total views, publish date, video duration, tags, likes and dislikes and more in Python using requests_html and Beautiful Soup libraries.

articles/object-detection-yolo-with-pytorch-and-opencv-in-python.jpg
How to Perform YOLO Object Detection using OpenCV in Python

Using the state-of-the-art YOLOv8 object detection for real-time object detection, recognition and localization in Python using OpenCV, Ultralytics and PyTorch.

articles/connect-to-remote-mysql-database-in-python.PNG
How to Connect to a Remote MySQL Database in Python

Learn how to configure your MySQL server to be able to accept remote connections from Python

articles/creating-webhooks-in-python-with-flask.jpg
Webhooks in Python with Flask

Learn how to create a streaming application with real-time charting by consuming webhooks with the help of Flask, Redis, SocketIO and other libraries in Python.

articles/sift-feature-extraction-in-python-using-opencv.PNG
SIFT Feature Extraction using OpenCV in Python

Learn how to compute and detect SIFT features for feature matching and more using OpenCV library in Python.

articles/record-and-play-audio-in-python.PNG
How to Play and Record Audio in Python

Learn how to play and record sound files using different libraries such as playsound, Pydub and PyAudio in Python.

articles/chrome-cookie-extractor-with-python.PNG
How to Extract Chrome Cookies in Python

Learn how to extract Google Chrome browser saved cookies and decrypt them on your Windows machine in Python.

articles/using-proxies-in-python.PNG
How to Use Proxies to Rotate IP Addresses in Python

Learn how to perform web scraping at scale by preventing websites to ban your ip address while scraping them using different proxy methods in Python.

articles/arp_spoof1.PNG
How to Build an ARP Spoofer in Python using Scapy

Building and creating an ARP Spoof script in Python using Scapy to be able to be a man in the middle to monitor, intercept and modify packets in the network.

articles/convert-html-to-pdf-in-python.jpg
How to Convert HTML to PDF in Python

Learn how you can convert HTML pages to PDF files from an HTML file, URL or even HTML content string using wkhtmltopdf tool and its pdfkit wrapper in Python.

articles/make-a-tcp-syn-flood-attack-in-python-using-scapy.PNG
How to Make a SYN Flooding Attack in Python

Learn how to use Scapy library in Python to perform a TCP SYN Flooding attack, which is a form of denial of service attacks.

articles/chatbot-python.jpg
How to Make Facebook Messenger Bot in Python

Making a facebook messenger chat bot in python using fbchat library, you can make customized auto messages and bots, get user information, and much more handy tools.

articles/torrent-downloader-in-python.PNG
How to Download Torrent Files in Python

Using Python wrapper for qBittorrent Web API to automatically download, pause and handle torrent files in Python.

articles/ipaddress-module-in-python.PNG
How to Manipulate IP Addresses in Python using ipaddress Module

Using ipaddress standard Python library to manipulate IPv4 and IPv6 addresses, networks, subnets and more.

articles/extract-media-metadata-in-python.jpg
How to Extract Video Metadata in Python

Learn how to extract video or audio file metadata in Python with the help of ffmpeg framework and its ffmpeg-python wrapper.

articles/server-2160321_1920_1.jpg
How to Make a DNS Spoof Attack using Scapy in Python

Writing a DNS spoofer script in Python using Scapy library to successfully change DNS cache of a target machine in the same network.




🕒 Limited-Time Offer!
EBook Image

Web Security Week Special! Get our Cybersecurity eBook Bundle at 40% off. Limited time only!

$68.0 $40.8