Python Code Tutorials
This is a repository of all the tutorials of The Python Code website.
List of Tutorials
-
Ethical Hacking
-
Scapy
- Getting Started With Scapy: Python Network Manipulation Tool
- Building an ARP Spoofer. (code)
- Detecting ARP Spoof attacks. (code)
- How to Make a DHCP Listener using Scapy in Python. (code)
- Fake Access Point Generator. (code)
- Forcing a device to disconnect using scapy in Python. (code)
- Simple Network Scanner. (code)
- Writing a DNS Spoofer. (code)
- How to Sniff HTTP Packets in the Network using Scapy in Python. (code)
- How to Build a WiFi Scanner in Python using Scapy. (code)
- How to Make a SYN Flooding Attack in Python. (code)
- How to Inject Code into HTTP Responses in the Network in Python. (code)
- Writing a Keylogger in Python from Scratch. (code)
- Making a Port Scanner using sockets in Python. (code)
- How to Create a Reverse Shell in Python. (code)
- How to Encrypt and Decrypt Files in Python. (code)
- How to Make a Subdomain Scanner in Python. (code)
- How to Use Steganography to Hide Secret Data in Images in Python. (code)
- How to Brute-Force SSH Servers in Python. (code)
- How to Build a XSS Vulnerability Scanner in Python. (code)
- How to Use Hash Algorithms in Python using hashlib. (code)
- How to Brute Force FTP Servers in Python. (code)
- How to Extract Image Metadata in Python. (code)
- How to Crack Zip File Passwords in Python. (code)
- How to Crack PDF Files in Python. (code)
- How to Build a SQL Injection Scanner in Python. (code)
- How to Extract Chrome Passwords in Python. (code)
- How to Use Shodan API in Python. (code)
- How to Make an HTTP Proxy in Python. (code)
- How to Extract Chrome Cookies in Python. (code)
- How to Extract Saved WiFi Passwords in Python. (code)
- How to Make a MAC Address Changer in Python. (code)
- How to Make a Password Generator in Python. (code)
- How to Make a Ransomware in Python. (code)
- How to Perform DNS Enumeration in Python. (code)
- How to Geolocate IP addresses in Python. (code)
- How to Crack Hashes in Python. (code)
-
-
Machine Learning
-
Natural Language Processing
- How to Build a Spam Classifier using Keras in Python. (code)
- How to Build a Text Generator using TensorFlow and Keras in Python. (code)
- How to Perform Text Classification in Python using Tensorflow 2 and Keras. (code)
- Sentiment Analysis using Vader in Python. (code)
- How to Perform Text Summarization using Transformers in Python. (code)
- How to Fine Tune BERT for Text Classification using Transformers in Python. (code)
- Conversational AI Chatbot with Transformers in Python. (code)
- How to Train BERT from Scratch using Transformers in Python. (code)
- How to Perform Machine Translation using Transformers in Python. (code)
- Speech Recognition using Transformers in Python. (code)
- Text Generation with Transformers in Python. (code)
- How to Paraphrase Text using Transformers in Python. (code)
- Fake News Detection using Transformers in Python. (code)
- Named Entity Recognition using Transformers and Spacy in Python. (code)
- Tokenization, Stemming, and Lemmatization in Python. (code)
- How to Fine Tune BERT for Semantic Textual Similarity using Transformers in Python. (code)
- How to Calculate the BLEU Score in Python. (code)
- Word Error Rate in Python. (code)
- How to Calculate ROUGE Score in Python. (code)
- Visual Question Answering with Transformers. (code)
-
Computer Vision
- How to Detect Human Faces in Python using OpenCV. (code)
- How to Make an Image Classifier in Python using TensorFlow and Keras. (code)
- How to Use Transfer Learning for Image Classification using Keras in Python. (code)
- How to Perform Edge Detection in Python using OpenCV. (code)
- How to Detect Shapes in Images in Python. (code)
- How to Detect Contours in Images using OpenCV in Python. (code)
- How to Recognize Optical Characters in Images in Python. (code)
- How to Use K-Means Clustering for Image Segmentation using OpenCV in Python. (code)
- How to Perform YOLO Object Detection using OpenCV and PyTorch in Python. (code)
- How to Blur Faces in Images using OpenCV in Python. (code)
- Skin Cancer Detection using TensorFlow in Python. (code)
- How to Perform Malaria Cells Classification using TensorFlow 2 and Keras in Python. (code)
- Image Transformations using OpenCV in Python. (code)
- How to Apply HOG Feature Extraction in Python. (code)
- SIFT Feature Extraction using OpenCV in Python. (code)
- Age Prediction using OpenCV in Python. (code)
- Gender Detection using OpenCV in Python. (code)
- Age and Gender Detection using OpenCV in Python. (code)
- Satellite Image Classification using TensorFlow in Python. (code)
- How to Perform Image Segmentation using Transformers in Python. (code)
- How to Fine Tune ViT for Image Classification using Huggingface Transformers in Python. (code)
- How to Generate Images from Text using Stable Diffusion in Python. (code)
- How to Perform Image to Image Generation with Stable Diffusion in Python. (code)
- Real-time Object Tracking with OpenCV and YOLOv8 in Python. (code)
- How to Control the Generated Images by diffusion models via ControlNet in Python. (code)
- How to Edit Images using InstructPix2Pix in Python. (code)
- How to Upscale Images using Stable Diffusion in Python. (code)
- Real-Time Vehicle Detection, Tracking and Counting in Python. (code)
- Building a Speech Emotion Recognizer using Scikit-learn. (code)
- How to Convert Speech to Text in Python. (code)
- Top 8 Python Libraries For Data Scientists and Machine Learning Engineers.
- How to Predict Stock Prices in Python using TensorFlow 2 and Keras. (code)
- How to Convert Text to Speech in Python. (code)
- How to Perform Voice Gender Recognition using TensorFlow in Python. (code)
- Introduction to Finance and Technical Indicators with Python. (code)
- Algorithmic Trading with FXCM Broker in Python. (code)
- How to Create Plots With Plotly In Python. (code)
- Feature Selection using Scikit-Learn in Python. (code)
- Imbalance Learning With Imblearn and Smote Variants Libraries in Python. (code)
- Credit Card Fraud Detection in Python. (code)
- Customer Churn Prediction in Python. (code)
- Recommender Systems using Association Rules Mining in Python. (code)
- Handling Imbalanced Datasets: A Case Study with Customer Churn. (code)
- Logistic Regression using PyTorch in Python. (code)
- Dropout Regularization using PyTorch in Python. (code)
- K-Fold Cross Validation using Scikit-Learn in Python. (code)
- Dimensionality Reduction: Feature Extraction using Scikit-learn in Python. (code)
- Dimensionality Reduction: Using Feature Selection in Python. (code)
- A Guide to Explainable AI Using Python. (code)
- Autoencoders for Dimensionality Reduction using TensorFlow in Python. (code)
- Exploring the Different Types of Clustering Algorithms in Machine Learning with Python. (code)
- Image Captioning using PyTorch and Transformers. (code)
- Speech Recognition in Python. (code)
-
-
General Python Topics
- How to Make Facebook Messenger bot in Python. (code)
- How to Get Hardware and System Information in Python. (code)
- How to Control your Mouse in Python. (code)
- How to Control your Keyboard in Python. (code)
- How to Make a Process Monitor in Python. (code)
- How to Download Files in Python. (code)
- How to Execute BASH Commands in a Remote Machine in Python. (code)
- How to Convert Python Files into Executables
- How to Get the Size of Directories in Python. (code)
- How to Get Geographic Locations in Python. (code)
- How to Assembly, Disassembly and Emulate Machine Code using Python. (code)
- How to Change Text Color in Python. (code)
- How to Create a Watchdog in Python. (code)
- How to Convert Pandas Dataframes to HTML Tables in Python. (code)
- How to Make a Simple Math Quiz Game in Python. (code)
- How to Make a Network Usage Monitor in Python. (code)
- How to Replace Text in Docx Files in Python. (code)
- Zipf's Word Frequency Plot with Python. (code)
- How to Plot Weather Temperature in Python. (code)
- How to Generate SVG Country Maps in Python. (code)
- How to Query the Ethereum Blockchain with Python. (code)
- Data Cleaning with Pandas in Python. (code)
- How to Minify CSS with Python. (code)
-
Web Scraping
- How to Access Wikipedia in Python. (code)
- How to Extract YouTube Data in Python. (code)
- How to Extract Weather Data from Google in Python. (code)
- How to Download All Images from a Web Page in Python. (code)
- How to Extract All Website Links in Python. (code)
- How to Make an Email Extractor in Python. (code)
- How to Convert HTML Tables into CSV Files in Python. (code)
- How to Use Proxies to Anonymize your Browsing and Scraping using Python. (code)
- How to Extract Script and CSS Files from Web Pages in Python. (code)
- How to Extract and Submit Web Forms from a URL using Python. (code)
- How to Get Domain Name Information in Python. (code)
- How to Extract YouTube Comments in Python. (code)
- Automated Browser Testing with Edge and Selenium in Python. (code)
- How to Automate Login using Selenium in Python. (code)
- How to Make a Currency Converter in Python. (code)
- How to Extract Google Trends Data in Python. (code)
- How to Make a YouTube Video Downloader in Python. (code)
- How to Build a YouTube Audio Downloader in Python. (code)
-
Python Standard Library
- How to Transfer Files in the Network using Sockets in Python. (code)
- How to Compress and Decompress Files in Python. (code)
- How to Use Pickle for Object Serialization in Python. (code)
- How to Manipulate IP Addresses in Python using ipaddress module. (code)
- How to Send Emails in Python using smtplib Module. (code)
- How to Handle Files in Python using OS Module. (code)
- How to Generate Random Data in Python. (code)
- How to Use Threads to Speed Up your IO Tasks in Python. (code)
- How to List all Files and Directories in FTP Server using Python. (code)
- How to Read Emails in Python. (code)
- How to Download and Upload Files in FTP Server using Python. (code)
- How to Work with JSON Files in Python. (code)
- How to Use Regular Expressions in Python. (code)
- Logging in Python. (code)
- How to Make a Chat Application in Python. (code)
- How to Delete Emails in Python. (code)
- Daemon Threads in Python. (code)
- How to Organize Files by Extension in Python. (code)
- How to Split a String In Python. (code)
- How to Print Variable Name and Value in Python. (code)
- How to Make a Hangman Game in Python. (code)
- How to Use the Argparse Module in Python. (code)
-
Using APIs
- How to Automate your VPS or Dedicated Server Management in Python. (code)
- How to Download Torrent Files in Python. (code)
- How to Use Google Custom Search Engine API in Python. (code)
- How to Use Github API in Python. (code)
- How to Use Google Drive API in Python. (code)
- How to Translate Text in Python. (code)
- How to Make a URL Shortener in Python. (code)
- How to Get Google Page Ranking in Python. (code)
- How to Make a Telegram Bot in Python. (code)
- How to Use Gmail API in Python. (code)
- How to Use YouTube API in Python. (code)
- Webhooks in Python with Flask. (code)
- How to Make a Language Detector in Python. (code)
-
Database
-
Handling PDF Files
- How to Extract All PDF Links in Python. (code)
- How to Extract PDF Tables in Python. (code)
- How to Extract Images from PDF in Python. (code)
- How to Watermark PDF Files in Python. (code)
- Highlighting Text in PDF with Python. (code)
- How to Extract Text from Images in PDF Files with Python. (code)
- How to Convert PDF to Docx in Python. (code)
- How to Convert PDF to Images in Python. (code)
- How to Compress PDF Files in Python. (code)
- How to Encrypt and Decrypt PDF Files in Python. (code)
- How to Merge PDF Files in Python. (code)
- How to Sign PDF Files in Python. (code)
- How to Extract PDF Metadata in Python. (code)
- How to Split PDF Files in Python. (code)
- How to Extract Text from PDF in Python. (code)
- How to Convert HTML to PDF in Python. (code)
- How to Make a GUI PDF Viewer in Python. (code)
-
Python for Multimedia
- How to Make a Screen Recorder in Python. (code)
- How to Generate and Read QR Code in Python. (code)
- How to Play and Record Audio in Python. (code)
- How to Make a Barcode Reader in Python. (code)
- How to Extract Audio from Video in Python. (code)
- How to Combine a Static Image with Audio in Python. (code)
- How to Concatenate Video Files in Python. (code)
- How to Concatenate Audio Files in Python. (code)
- How to Extract Frames from Video in Python. (code)
- How to Reverse Videos in Python. (code)
- How to Extract Video Metadata in Python. (code)
- How to Record a Specific Window in Python. (code)
- How to Add Audio to Video in Python. (code)
- How to Compress Images in Python. (code)
-
Web Programming
- Detecting Fraudulent Transactions in a Streaming Application using Kafka in Python. (code)
- Asynchronous Tasks with Celery in Python. (code)
- How to Build a CRUD App with Flask and SQLAlchemy in Python. (code)
- How to Build an English Dictionary App with Django in Python. (code)
- How to Build a CRUD Application using Django in Python. (code)
- How to Build a Weather App using Django in Python. (code)
- How to Build an Authentication System in Django. (code)
- How to Make a Blog using Django in Python. (code)
- How to Make a Todo App using Django in Python. (code)
- How to Build an Email Address Verifier App using Django in Python. (code)
- How to Build a Web Assistant Using Django and OpenAI GPT-3.5 API in Python. (code)
- How to Make an Accounting App with Django in Python. (code)
- How to Build a News Site API with Django Rest Framework in Python. (code)
- How to Create a RESTful API with Flask in Python. (code)
- How to Build a GraphQL API in Python. (code)
- How to Build a Chat App using Flask in Python. (code)
- How to Build a Full-Stack Web App in Python using FastAPI and React.js (Backend, Frontend)
-
GUI Programming
- How to Make a Text Editor using Tkinter in Python. (code)
- How to Make a Button using PyGame in Python. (code)
- How to Make a File Explorer using Tkinter in Python. (code)
- How to Make a Calculator with Tkinter in Python. (code)
- How to Make a Typing Speed Tester with Tkinter in Python. (code)
- How to Make a Markdown Editor using Tkinter in Python. (code)
- How to Build a GUI Currency Converter using Tkinter in Python. (code)
- How to Detect Gender by Name using Python. (code)
- How to Build a Spreadsheet App with Tkinter in Python. (code)
- How to Make a Rich Text Editor with Tkinter in Python. (code)
- How to Make a Python Code Editor using Tkinter in Python. (code)
- How to Make an Age Calculator in Python. (code)
- How to Create an Alarm Clock App using Tkinter in Python. (code)
- How to Build a GUI Voice Recorder App in Python. (code)
- How to Build a GUI QR Code Generator and Detector Using Python. (code)
- How to Build a GUI Dictionary App with Tkinter in Python. (code)
- How to Make a Real-Time GUI Spelling Checker in Python. (code)
- How to Build a GUI Language Translator App in Python. (code)
- How to Make an Image Editor in Python. (code)
-
Game Development
- How to Make a Button using PyGame in Python. (code)
- How to Make a Drawing Program in Python. (code)
- How to Make a Planet Simulator with PyGame in Python. (code)
- How to Make a Chess Game with Pygame in Python. (code)
- How to Create a GUI Hangman Game using PyGame in Python. (code)
- How to Make a Hangman Game in Python. (code)
- How to Make a Text Adventure Game in Python. (code)
- How to Make a Tetris Game using PyGame in Python. (code)
- How to Build a Tic Tac Toe Game in Python. (code)
- How to Make a Checkers Game with Pygame in Python. (code)
- How to Make a Snake Game in Python. (code)
- How to Create a Slide Puzzle Game in Python. (code)
- How to Make a Maze Game in Python. (code)
- How to Create a Platformer Game in Python. (code)
- How to Make a Flappy Bird Game in Python. (code)
For any feedback, please consider pulling requests.