Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Dive deep into the intricacies of Python functions in this comprehensive conference talk from EuroPython 2018. Explore the nuances of functions, methods, callables, and closures, uncovering their inner workings and capabilities. Learn about various parameter specification methods, return values, variable scopes, and exception handling. Discover the concept of closures and their impact on memory usage. Understand the differences between methods and functions, including their creation and functionality. Explore how to create custom callables from any object using magic methods. Utilize modern Python introspection techniques to examine and manipulate functions. Delve into bytecode analysis, learning how to inspect and modify a function's internal structure. Gain practical knowledge and extreme techniques that will elevate your understanding of Python's callable objects, equipping you with advanced skills for more efficient and creative programming.