mathspp blog

419 451,217 37,735
articles words lines of code

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

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

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

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

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

Today I learned you can embed images in your module docstrings and they'll be rendered in the tooltips inside your IDE.