Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the world of metaprogramming in Python through this comprehensive EuroPython 2014 conference talk. Begin with an introduction to metaprogramming concepts before delving into Python-specific techniques such as function and class decorators. Progress to advanced topics like metaclasses, demonstrating their power by implementing a simple Django-like model. Conclude with an exploration of macros, comparing their use in Lisp to Python implementations using the macropy library. Gain insights into when to use each metaprogramming technique and how they can enhance code flexibility and expressiveness.