Articles that include code in some form

339 412,898 40,348
articles words lines of code

Learn how to define a TypedDict that accepts extra items of a given type.

Learn about the new module profiling that was introduced in Python 3.15 to organise the built-in profiling tools.

Learn how to use Tachyon, Python's sampling profiler.

Learn about the top 3 developer experience improvements from Python 3.15

Learn how to use startup configuration files to run package entry points when the Python interpreter starts up.

Learn how to use the unpacking operator inside list comprehensions.

Learn how to use the new frozendict built-in to create and manipulate immutable dictionaries.

Learn how to use the sentinel built-in from Python 3.15 for placeholder values.

Learn how to use lazy imports to speed up the startup time of your Python applications.

This article explains the 5 best new features of Python 3.15 with clear examples and explanations.

Today I learned how to setup a Rust project that can be called from Python with PyO3 and maturin through uv.

Learn the fundamental principles behind OOP and how they connect to the syntax of Python.

Cheatsheet with visual diagrams that explain how the iterables from itertools work.

Improve the capabilities of your agent by providing it with better tools.

Learn how to write a coding agent in this Python tutorial that teaches how to interact with an LLM through an API, how to manage the conversation context, and how to do tool calling.

Today I learned Python 3.15 will get a new sentinel built-in.

Learn how to work around the Python machinery to resolve an explicit lazy import manually.

This article shares two skills you can add to your coding agents so they use uv workflows.

Learn how objects are automatically iterable if you implement integer indexing.

This article covers a useful LLM pattern where you ask the LLM to write code to solve a problem instead of asking it to solve the problem directly.