Python Code Tutorials


articles/upscale-images-with-stable-diffusion-in-python.jpg
How to Upscale Images using Stable Diffusion in Python

Learn how to use stable diffusion 4x upscaler to upscale your low-resolution images into high quality images with Huggingface transformers and diffusers libraries in Python.

articles/make-a-password-manager-in-python_MmbcFnM.jpg
How to Build a Password Manager in Python

Learn how to build a secure custom password manager using Python. This tutorial walks you through encryption, data storage, and various functionalities like adding, retrieving, and managing passwords. Elevate your online security game with some hands-on coding.

articles/how-to-inject-code-to-arp-spoofed-targets-in-python.jpg
How to Inject Code into HTTP Responses in the Network in Python

Learn how you can inject Javascript, HTML or CSS to HTTP response packets in a spoofed network using Scapy and NetfilterQueue in Python.

articles/generate-images-from-text-stable-diffusion-in-python_xnubOl0.jpg
How to Generate Images from Text using Stable Diffusion in Python

Learn how to perform text-to-image using stable diffusion models with the help of huggingface transformers and diffusers libraries in Python.

articles/implement-the-vigenere-cipher-in-python.jpg
How to Implement the Vigenère Cipher in Python

Step-by-step guide to implementing the Vigenère Cipher in Python. Understand its mechanism, strengths, and vulnerabilities, with practical examples for encryption and decryption.

articles/you_are_under_attack2.PNG
How to Detect ARP Spoof Attack using Scapy in Python

Writing a simple Python script using Scapy that identifies and detects an ARP spoof attack in the network.

articles/machine-translation-using-huggingface-transformers-in-python.jpg
Machine Translation using Transformers in Python

Learn how to use Huggingface transformer models to perform machine translation on various languages using transformers and PyTorch libraries in Python.

articles/chatapp-flask-socketio.jpg
How to Build a Chat App using Flask in Python

Learn how to build a web-based chat room application using Flask and Flask-SocketIO libraries in Python.

articles/pdf-link-extractor-using-python.PNG
How to Extract All PDF Links in Python

Learn how you can extract links and URLs from PDF files with Python using pikepdf and PyMuPDF libraries.

articles/convert-pandas-dataframe-to-html-in-python.jpg
How to Convert Pandas Dataframes to HTML Tables in Python

Learn how you can make interactive HTML tables with pagination, sorting and searching just from a pandas dataframe using pandas and jQuery data tables in Python.

articles/extract-text-from-pdf-in-python.jpg
How to Extract Text from PDF in Python

Learn how to extract text as paragraphs line by line from PDF documents with the help of PyMuPDF library in Python.

articles/blurring-faces-using-opencv-in-python.jpg
How to Blur Faces in Images using OpenCV in Python

Blurring and anonymizing faces in images and videos after performing face detection using OpenCV library in Python.

articles/make-a-file-explorer-in-python-using-tkinter.jpg
How to Make a File Explorer using Tkinter in Python

Learn how to make a simple file explorer that is able to navigate through folders, create folders and files and more using Tkinter in Python.

articles/word-error-rate-in-python.jpg
Word Error Rate in Python

Learn what is Word Error Rate (WER) metric that is widely used in Automatic Speech Recognition (ASR) and how to implement it in Python along with using third-party libraries like jiwer and evaluate.

articles/using-mysql-connector-in-python.PNG
How to Use MySQL Database in Python

Learn how to connect to a MySQL database, create tables, insert and fetch data in Python using MySQL connector.

articles/implement-the-caesar-cipher-in-python.jpg
How to Implement the Caesar Cipher in Python

Learn to code the Caesar cipher in Python and encrypt messages like Julius Caesar! This beginner-friendly tutorial covers the basics of one of history's earliest ciphers with step-by-step coding instructions. Dive into the world of ancient cryptography!