Cheat sheets
Copy-paste references with examples that run on the page.
Cheat sheetsOct 14, 2026 · 8 min
Python JSON Examples: dumps, loads, Custom Types, Errors
Runnable Python json examples: dumps vs dump, loads vs load, pretty printing, datetime and custom types, plus the errors you'll actually hit.
Cheat sheetsOct 14, 2026 · 7 min
Runnable SQLite Python examples using the sqlite3 module
Copy-paste sqlite3 examples for Python: create tables, insert rows, bind parameters safely, commit transactions, and read results back.
Cheat sheetsOct 14, 2026 · 8 min
Python Regex Examples: match, search, groups and sub
Python regex examples you can run: match vs search, groups, named groups, findall, sub with a function, flags, escaping, plus the gotchas that cause bugs.