Namespaces and Scope
Learn about how Python stores names and the scoping rules that apply to them!
StartNamespaces
Lesson 1 of 2
- 1In Python, a name (sometimes also called a symbolic name) is an identifier for an object. In the programs we have written so far, we have been using the concept of naming all along! Let’s take …
- 2
One of the four main types of namespaces that exist in Python is the …
- 3
The global namespace exists one level below the built-in namespace. G…
- 4
Now that we have examined the built-in and global namespaces, let’s dive…
- 5
There is just one more namespace we need to be aware of in our Pytho…
How you'll master it
Stress-test your knowledge with quizzes that help commit syntax to memory