Companies Home Search Profile

Navigating Namespaces and Scope in Python

Focused View

Johan Vergeer

27:26

235 View
  • 01-01-Scope-overview-v2.mp4
    01:07
  • 02-01-Scope-builtins-module-v4.mp4
    01:32
  • 02-02-Scope-global-namespace-v4.mp4
    03:16
  • 02-03-Scope-local-and-enclosing-namespaces-v3.mp4
    04:17
  • 03-01-Scope-variable-scope-v4.mp4
    01:02
  • 03-02-Scope-legb-rule-v3.mp4
    04:00
  • 04-01-Scope-modify-variables-out-of-scope-v3.mp4
    03:08
  • 04-02-Scope-the-global-declaration-v2.mp4
    03:27
  • 04-03-Scope-the-nonlocal-declaration-v2.mp4
    02:17
  • 04-04-Scope-best-practices-v2.mp4
    02:32
  • 05-01-Scope-summary-v2.mp4
    00:48
  • final-examples-v1.zip
  • python-namespaces-scope-v1.pdf
  • 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
    0
    0
    0
    0
    0
    average 0
    Total votes0
    Focused display
    Category
    Johan Vergeer
    Johan Vergeer
    Instructor's Courses

    Hallo, 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:

    Learn Python online: Python tutorials for developers of all skill levels, Python books and courses, Python news, code examples, articles, and more.
    • language english
    • Training sessions 11
    • duration 27:26
    • Release Date 2023/01/05