Python Standard Library

Master the built-in modules that come with every Python installation

← Back to Home

No installation required. These modules are included with Python. Learn them once, use them everywhere.

Each guide teaches one library through hands-on examples, following the Build It methodology: one concept per page, checkpoints to verify understanding, and troubleshooting for common issues.

Available Guides

random

Random numbers, choices, shuffling, and sampling

📄 28 pages

time

Sleep, timestamps, and measuring duration

📄 24 pages

datetime

Dates, times, formatting, and timezones

📄 36 pages

typing

Type hints and annotations

🚧 Coming soon

json

Read and write JSON data

🚧 Coming soon

os

File system and environment variables

🚧 Coming soon

pathlib

Modern file path handling

🚧 Coming soon

collections

Counter, defaultdict, deque, and more

🚧 Coming soon

math

Mathematical functions beyond basics

🚧 Coming soon