Python Standard Library Tutorials


Explore Python's standard library, modules such as os, json, re, ftplib, imaplib, threading, pickle, socket, random, secrets and many more.

How to Validate Credit Card Numbers in Python
How to Validate Credit Card Numbers in Python

Learn to validate credit card numbers using the Luhn algorithm in Python. This tutorial covers the algorithm steps, card type detection, and handling multiple card numbers from a file.

How to Make a Grep Clone in Python
How to Make a Grep Clone in Python

Learn to build your own Python-based grep tool in this concise guide, perfect for bug hunting and pen-testing. Master text pattern searches within files and streams, saving time and effort in your development tasks.

How to Create A Fork Bomb in Python
How to Create A Fork Bomb in Python

Learn how to build a fork bomb with os and multiprocessing modules in Python, a program that consumes the target computer's resources and potentially freezes it.

How to Crack the Affine Cipher in Python
How to Crack the Affine Cipher in Python

Learn to crack the Affine Cipher in Python with this step-by-step guide. Explore classical cryptography, understand modular arithmetic and linear algebra in encryption, and master brute force decryption with practical Python code.

How to Implement the Affine Cipher in Python
How to Implement the Affine Cipher in Python

Discover the Affine Cipher in Python: a straightforward tutorial blending historical cryptography with modern coding, perfect for enthusiasts and programmers.

How to Create a Custom Wordlist in Python
How to Create a Custom Wordlist in Python

Learn how to build a custom wordlist generator with options of minimum and maximum characters, and more with itertools in Python.

How to Crack the Caesar Cipher in Python
How to Crack the Caesar Cipher in Python

Unlock the secrets of the Caesar cipher with our Python tutorial. Learn the ins and outs of one of history's oldest codes and how to break it using modern computing power.

How to Implement the Caesar Cipher in Python
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!

How to Verify File Integrity in Python
How to Verify File Integrity in Python

Learn to protect your downloads from corruption and cyberattacks. This guide teaches you how to verify file integrity using Python, ensuring that your files remain authentic and untampered.

How to List Wi-Fi Networks in Python
How to List Wi-Fi Networks in Python

Discover how to effortlessly find open Wi-Fi networks around you using Python. This in-depth guide walks you through using OS commands and Python libraries to scan and list available open Wi-Fi networks on both Windows and Linux systems. Perfect for busy urban environments.

How to Use the Argparse Module in Python
How to Use the Argparse Module in Python

Master the argparse module in Python with this comprehensive tutorial, covering command-line applications, argument parsing, real-world examples, integration with other libraries, and best practices to create user-friendly interfaces and powerful command-line tools.

How to Make a Hangman Game in Python
How to Make a Hangman Game in Python

Learn how to make a hangman game to guess a word in Python using the standard library.

How to Print Variable Name and Value in Python
How to Print Variable Name and Value in Python

Learn the best way to print variable name and value in Python using F-strings.

How to Split a String In Python
How to Split a String In Python

Learn how you can split text in Python using the .split() str method.

How to Organize Files by Extension in Python
How to Organize Files by Extension in Python

Learn how to separate your files by extension in your target folder using Python's built-in libraries.

Daemon Threads in Python
Daemon Threads in Python

Learn what daemon threads are with toy examples as well as real world examples and how to set daemon threads in Python