The Python programming language, tutorials, and more

307 382,261 36,711
articles words lines of code
Image

In this article you will learn about itertools.pairwise, how to use it, and how to generalise it.

Image

Learn how to implement and use the floodfill algorithm in Python.

Image

A high-level overview of how to use the module compression, new in Python 3.14.

Image

A generator, duck typing, and a branchless conditional walk into a bar.

Image

Today I learned how to build the Python documentation to preview changes I wanted to make.

Image

This article serves as a complete reference for all the non-trivial things you should know about Python functions.

Image

Today I learned how to use the equals sign to align numbers when doing string formatting in Python.

Image

Cheatsheet with the most common and useful uv commands to manage projects and dependencies, publish projects, manage tools, and more.

Image

Today I learned you can change the casing of matched groups when doing a search & replace in VS Code with regex.

Image

I am truly honoured to have been awarded a PSF Community Service Award in Q2 of 2025.

Image

Learn how to use functools.Placeholder, new in Python 3.14, with real-life examples.

Image

Today I learned you can format your Python code directly with uv.

Image

In this article I share my personal highlights of the 2025 edition of the EuroPython conference in Prague, Czech Republic.

Image

The PyCon Portugal 2025 programme appears to be dominated by a mafia of a few speakers... Let me explain!

Image

Today I learned how to use \b and \B to match prefixes and suffixes with regex.

Image

Today I learned that you can dynamically change the type of an object in Python.

Image

Today I learned about a Python Easter Egg hidden in the hash of two special float values.

Image

Answer this quiz to test your knowledge about the Python language, community, andd the 2025 edition of EuroPython!

Image

This article shows how I have used regex in real life for all sorts of tasks.

Image

In this article I share my personal highlights of PyCon Italy 2025, including stories and anecdotes.