Namespaces
Lesson 1 of 2
  1. 1
    In 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. 2
    Python Built-in Namespace One of the four main types of namespaces that exist in Python is the …
  3. 3
    Python Global Namespace The global namespace exists one level below the built-in namespace. G…
  4. 4
    Python Local Namespace Now that we have examined the built-in and global namespaces, let’s dive…
  5. 5
    Enclosing Namespace Python There is just one more namespace we need to be aware of in our Pytho…
  6. 6
    Great job! You’ve learned some important concepts in Python regarding namespaces. In this lesson, we’ve covered: - Names as identifiers for objects in Python. - What namespaces are. - The built-in…

How you'll master it

Stress-test your knowledge with quizzes that help commit syntax to memory