mathspp blog

416 446,044 37,707
articles words lines of code

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.