Exploring Python's Scopes and Closures : A Code Conversation

Veröffentlicht am: 26 May 2022
auf dem Kanal: 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...


Auf dieser Seite können Sie das Online-Video Exploring Python's Scopes and Closures : A Code Conversation mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Real Python 26 May 2022 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 2,927 Mal angesehen und es wurde von 76 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!