Python Code Tutorials


articles/making-http-proxy-with-mitmproxy-and-python.PNG
How to Make an HTTP Proxy in Python

Learn how to use mitmproxy framework to build HTTP proxies using Python

articles/finetune-bert-transformers-in-python.PNG
How to Fine Tune BERT for Text Classification using Transformers in Python

Learn how to use HuggingFace transformers library to fine tune BERT and other transformer models for text classification task in Python.

articles/python-coding-on-macbook.jpg
Your Guide for Starting Python Coding on a MacBook

Your guide for starting learning Python with a MacBook, making sure that Mac is performing optimally, installing Python on Mac and picking the best editor for your learning journey.

articles/use-gmail-api-in-python.PNG
How to Use Gmail API in Python

Learn how to use Gmail API to send emails, search for emails by query, delete emails, mark emails as read or unread 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/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/using-shodan-api-in-python.PNG
How to Use Shodan API in Python

Learn how to use Shodan API to make a script that searches for public vulnerable servers, IoT devices, power plants and much more using Python.

articles/making-a-telegram-bot-in-python.PNG
How to Make a Telegram Bot in Python

Learn how to use Telegram API and python-telegram-bot wrapper to build a Telegram Bot 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/hog-feature-extraction-skimage-python.PNG
How to Apply HOG Feature Extraction in Python

Learn how to use scikit-image library to extract Histogram of Oriented Gradient (HOG) features from images in Python.

articles/deleting-emails-in-python.PNG
How to Delete Emails in Python

Learn how you can use IMAP protocol to delete specific mails in your email account in a selected mailbox using the built-in imaplib module in Python.

articles/automated-browser-testing-with-edge-and-selenium-python.PNG
Automated Browser Testing with Edge and Selenium in Python

Learn how to perform automated browser testing with Microsoft Edge browser and Selenium library in Python.

articles/image-transformation-using-opencv-in-python.PNG
Image Transformations using OpenCV in Python

Learn how to perform perspective image transformation techniques such as image translation, reflection, rotation, scaling, shearing and cropping using OpenCV library in Python.

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/logging-in-python.PNG
Logging in Python

Learn how to use Python's built-in logging module to log your Python applications, changing default format, level, and learning in a concrete example, as well as using logging handlers.

articles/text-summarization-using-huggingface-transformers_ldqyycI.PNG
How to Perform Text Summarization using Transformers in Python

Learn how to use Huggingface transformers and PyTorch libraries to summarize long text, using pipeline API and T5 transformer model in Python.