Python Code Tutorials


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/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/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/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/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/calculate-rouge-score-in-python.jpg
How to Calculate ROUGE Score in Python

Learn what is the ROUGE score and how to calculate it using rouge_score library 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/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/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/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/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/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/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/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.




🕒 Limited-Time Offer!
EBook Image

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

$68.0 $40.8