TIL (Today I Learned)

The TIL series of articles contains very short articles documenting something I learned “today”.

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.

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