Python Code Tutorials


articles/brute-force-ftp-servers-in-python.PNG
How to Brute Force FTP Servers in Python

Learning how to crack FTP servers using dictionary attack (brute-forcing with a wordlist) with the help of ftplib module in Python.

articles/text-generation-using-transformers-in-python.jpg
Text Generation with Transformers in Python

Learn how you can generate any type of text with GPT-2 and GPT-J transformer models with the help of Huggingface transformers library in Python.

articles/assembly-disassembly-and-emulation-in-python.PNG
Assembly, Disassembly and Emulation using Python

Learn how to use Keystone engine, Capstone engine and Unicorn engine to assemble, disassemble and emulate machine code (ARM, x86-64 and more) in Python

articles/creating-a-watchdog-in-python.jpg
How to Create a Watchdog in Python

Learn how to monitor and watch your file system for events by creating a watchdog in Python with watchdog and pygtail libraries.

articles/spam_classifier_g2mt4wa.png
How to Build a Spam Classifier using Keras and TensorFlow in Python

Classifying emails (spam or not spam) with GloVe embedding vectors and RNN/LSTM units using Keras and TensorFlow in Python.

articles/add-audio-to-video-in-python.jpg
How to Add Audio to Video in Python

Learn how you can add audio clip to a video clip with more flexibility using the MoviePy library in Python.

articles/dhcp-listener.jpg
How to Make a DHCP Listener using Scapy in Python

Learn how you can make a DHCP listener by sniffing DHCP packets in the network using the Scapy library in Python.

articles/convert-pdf-files-to-images-using-python.jpg
How to Convert PDF to Images in Python

Learn how to use PyMuPDF library to convert PDF files into individual images per page in Python.

articles/create-a-maze-game-with-python.jpg
How to Make a Maze Game in Python

Learn how to build a maze game with Pygame library in Python.

articles/youtube-video-downloader-in-python.jpg
How to Make a YouTube Video Downloader in Python

Learn how you can build a CLI and GUI YouTube video downloader using Pytube in Python.

articles/introduction-to-finance-and-technical-indicators-with-python.jpg
Introduction to Finance and Technical Indicators with Python

Learn how to handle stock prices in Python, understand the candles prices format (OHLC), plotting them using candlestick charts as well as learning to use many technical indicators using stockstats library in Python.

articles/text-classification-using-tensorflow-in-python.PNG
How to Perform Text Classification in Python using Tensorflow 2 and Keras

Building deep learning models (using embedding and recurrent layers) for different text classification problems such as sentiment analysis or 20 news group classification using Tensorflow and Keras in Python

articles/make-a-platformer-game-in-python.jpg
How to Create a Platformer Game in Python

Learn how to build a platformer game from scratch using PyGame library in Python.

articles/trajectories-drawn-on-the-frame.webp
Real-Time Vehicle Detection, Tracking and Counting in Python

Learn how to perform vehicle detection, tracking and counting with YOLOv8 and DeepSORT using OpenCV library in Python.

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/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.