PY

7 organized subcategories

Python

Practical language patterns, collections, functions, and tooling.

All-in-one command referenceBrowse every Python command in one placeScan the complete quick-reference collection, choose a task, and jump directly to its detailed examples.888 commands53 cheat sheets7 subcategoriesOpen master quick reference

Choose a focus

Python subcategories

53 focused guides grouped by the kind of task you need to complete.

9 cheat sheets

Language and Objects

Define functions, classes, protocols, types, control flow, and reusable behavior.

View subcategory
Python · Language and Objects15 quick references

Python Exceptions Cheat Sheet

Raise, catch, inspect, chain, and clean up after Python exceptions with specific handlers, else, finally, custom errors, and context managers.

Open cheat sheet
Python · Language and Objects19 quick references

Python Functions Cheat Sheet

Define, call, document, annotate, and compose Python functions with safe defaults, flexible arguments, callbacks, closures, and decorators.

Open cheat sheet

9 cheat sheets

Collections and Iteration

Transform, combine, and traverse Python collections and iterables.

View subcategory
Python · Collections and Iteration20 quick references

Python Strings Cheat Sheet

Create, inspect, slice, normalize, search, replace, split, join, and format immutable Python strings with Unicode-aware examples.

Open cheat sheet

9 cheat sheets

Data and Serialization

Represent text, numbers, structured data, dates, binary values, and persistent objects.

View subcategory

5 cheat sheets

Pandas Data Analysis

Select, clean, combine, summarize, reshape, and analyze labeled tabular and time-series data.

View subcategory

6 cheat sheets

Files, OS, and CLI

Build command-line tools and work with files, processes, configuration, and archives.

View subcategory

5 cheat sheets

Packages, Testing, and Quality

Organize, package, test, instrument, and distribute maintainable Python projects.

View subcategory
Python · Packages, Testing, and Quality14 quick references

Python unittest and Mocking Cheat Sheet

Structure deterministic Python tests with unittest cases, fixtures, subtests, exception assertions, mock patching, autospecs, call verification, and temporary resources.

Open cheat sheet

10 cheat sheets

Concurrency, Networking, and Performance

Coordinate parallel work, network services, databases, memory, and performance.

View subcategory
Python · Concurrency, Networking, and Performance12 quick references

Python asyncio and await Cheat Sheet

Write structured asynchronous Python with coroutines, tasks, task groups, timeouts, cancellation, queues, synchronization, and safe blocking-work delegation.

Open cheat sheet
Python · Concurrency, Networking, and Performance16 quick references

Python sqlite3 Databases Cheat Sheet

Build reliable embedded databases with Python sqlite3 connections, parameter binding, transactions, constraints, row factories, savepoints, and online backups.

Open cheat sheet
Python · Concurrency, Networking, and Performance15 quick references

Python urllib HTTP Clients Cheat Sheet

Build standard-library HTTP clients with urllib: requests, query strings, form bodies, headers, timeouts, TLS, errors, proxies, redirects, and safe URL validation.

Open cheat sheet
CMDMEMO TERMINALREAD ONLY