Get your finest top hat and dive into the rabbit hole with me for a magic trick like only the best snakes can do: create Python modules out of thin air. We’ll import Python modules that don’t exist and yet, Presto, here they are.

Presented at PyConlineAU 2021, this talk explores both how the Python import machinery actually works, and how we can use it to make dynamic Python modules.

Sources:

Art by Goulwen Reboux, a.k.a @nautilebleu