Latest Guides
View all →Build a CSV Data Analyzer
Learn to read, filter, aggregate, and write CSV data in Python using the standard library csv module — no third-party dependencies required.
Build a Markdown to HTML Converter in Python
Learn how to convert Markdown to HTML in Python using mistune and markdown, add syntax highlighting with Pygments, and sanitize output to prevent XSS attacks.
Build a Text Adventure Game
Create an interactive fiction game in Python using dictionaries, loops, and input handling. A step-by-step guide for beginners.
Python Number Guessing Game — Your First Beginner Project
Learn Python by building an interactive number guessing game. Covers variables, conditionals, loops, try/except, random.randint(), input(), and int().
Build a CLI To-Do App in Python
Learn how to build a command-line to-do app using Python's argparse module and JSON persistence.
Reference
View all →cProfile module
Profile Python code to find performance bottlenecks using the cProfile module.
format()
Convert a value to a formatted string using Python's format specification mini-language. The builtin behind f-strings and str.format().
__copy__ / __deepcopy__
Implement __copy__ and __deepcopy__ to control how copy.copy() and copy.deepcopy() handle your class instances.
__reduce__ / __reduce_ex__
Control how Python serializes and reconstructs your objects during pickling, copying, and shelving.
__sizeof__
Returns the size of an object in bytes. Measures the object's own memory footprint, not what it references.
__index__
Convert an object to an integer for use as a sequence index.
Tutorial Series
View all →Latest Articles
View all →Why small examples teach Python faster
Small, runnable Python examples teach concepts faster because readers can test ideas immediately and see concrete results.
What's New in Python 3.14
An overview of the major features in Python 3.14, including deferred annotations, template strings, and performance gains.