Scope in Python

Hey hey, just finished the newest guide “Scope in Python

This will teach you all about scope, why it exists and give code examples. For Python, the ability for a code to access a given name will depend on where exactly that name was defined. Name in this case means variables, functions, objects or classes. When you can access a given name from your code this will mean the name is in scope.

Read more

1 Like