Exploring Python's Scopes and Closures : A Code Conversation

Publicado el: 26 May 2022
en el canal de: Real Python
2,927
76

Have you been wondering how scopes and closures work in Python? Maybe you’ve just heard about object.__closure__, and you’d like to figure out what exactly it does. In this Code Conversation video course, you’ll see how to use the Thonny editor as a debugger to walk through some sample code and get a better understanding of scopes and closures in Python.

This Code Conversation video course covers how to:
Clarify code by refactoring it with descriptive names
Learn how functions access variables in local and nonlocal scopes
Understand how inner and outer function calls open and close their own scopes

You can find the complete course here:
https://realpython.com/courses/explor...


En esta página del sitio puede ver el video en línea Exploring Python's Scopes and Closures : A Code Conversation de Duración hora minuto segunda en buena calidad , que subió el usuario Real Python 26 May 2022, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 2,927 veces y le gustó 76 a los espectadores. Disfruta viendo!