Navigating Namespaces and Scope in Python
Johan Vergeer
27:26
Description
In a program of any complexity, you’ll create hundreds or thousands of names, each pointing to a specific object. How does Python keep track of all these names so that they don’t interfere with one another? This course covers Python namespaces, the structures used to organize the symbolic names assigned to objects in a Python program.
In this course, you’ll learn:
What You'll Learn?
- How Python organizes symbolic names and objects in namespaces
- When Python creates a new namespace
- How namespaces are implemented
- How variable scope determines symbolic name visibility
- What is the LEGB rule
More details
User Reviews
Rating
Johan Vergeer
Instructor's CoursesHallo, my name is Johan, and I am a software engineer working for the Pythoneers at Ordina in the Netherlands. I have a soft spot for awesome software design, clean code and sharing knowledge.
My goal is to share knowledge I gained in over the years to anyone who wants to learn, which I do through my blog, YouTube, MeetUps and here on Real Python.
Even though Python is the primary language I use on the job, I do think it is important to pick the right tool for the job. So next to Python I can work with C#, Java and Javascript.
You are most welcode to follow me on GitHub, LinkedIn or Twitter.
Some of the online meetups I contributed to:

Real Python
View courses Real Python- language english
- Training sessions 11
- duration 27:26
- Release Date 2023/01/05