Python Code Tutorials


articles/reverse_shell.jpg
How to Create a Reverse Shell in Python

Building a reverse shell in Python using sockets that can execute remote shell commands and send the results back to the server.

articles/download-images.PNG
How to Download All Images from a Web Page in Python

Learn how to extract and download images from a single web page in Python using requests and BeautifulSoup libraries.

articles/kmeans-image-segmentation-opencv-python.png
How to Use K-Means Clustering for Image Segmentation using OpenCV in Python

Using K-Means Clustering unsupervised machine learning algorithm to segment different parts of an image using OpenCV in Python.

articles/screen-recorder.jpg
How to Record your Screen in Python

Using pyautogui and OpenCV to record display screen video and save it to a file in Python.

articles/contour-detection-opencv-python_BTghyzf.PNG
How to Detect Contours in Images using OpenCV in Python

Learning how to detect contours in images for image segmentation, shape analysis and object detection and recognition using OpenCV in Python.

articles/execute-shell-commands-in-python-using-paramiko.PNG
How to Execute Shell Commands in a Remote Machine in Python

Learning how you can execute shell commands and scripts on a remote machine in Python using paramiko library.

articles/extracting-forms-in-webpages-and-submitting-them-in-python.PNG
How to Extract and Submit Web Forms from a URL using Python

Learn how you can scrape forms from web pages, as well as filling and submitting them using requests html and beautiful soup in Python.

articles/automate-login-using-selenium-in-python.PNG
How to Automate Login using Selenium in Python

Learn how to use Selenium library with Chrome driver in Python to login to websites automatically as well as verifying login success.

articles/python_task_manager_editable.jpg
How to Make a Process Monitor in Python

Monitoring Operating System processes in Python using psutil library and making a similar program of Windows Task Manager or Linux top utility.

articles/building-a-chatroom-in-python-using-sockets.png
How to Make a Chat Application in Python

Learn how to build a simple chat room application that accepts multiple connected clients using built-in's sockets and threading libraries in Python.

articles/generate_and_read_qrcode.jpg
How to Generate and Read QR Code in Python

Learning how you can generate and read QR Code in Python using qrcode and OpenCV libraries.

articles/wifi-scanner-in-python-using-scapy.jpg
How to Build a WiFi Scanner in Python using Scapy

Building a Wi-Fi scanner in Python using Scapy that finds and displays available nearby wireless networks and their MAC address, dBm signal, channel and encryption type.

articles/download-and-upload-files-in-ftp-server-using-python.PNG
How to Download and Upload Files in FTP Server using Python

Learn how to use Python's built-in ftplib module to download and upload files in a FTP server using RETR and STOR commands respectively.

articles/changing-text-color-in-python.jpg
How to Change Text Color in Python

Learn how to use colorama library to print colored text with different colors (such as red, green and blue) in the background and foreground and brightness in Python.