What are SCOPES and NAMESPACES in Python?
Scope is all about the location and the scale of things and their life span. And namespaces are the mechanism to achieve this in Python. In this tutorial you learn how scopes an namespaces work, how variables are resolved, how to make namespaces and why the global and nonlocal keywords can be dangerous. C H A P T E R S 0:25 Scopes v.s. Namespaces 0:45 Global scope 2:15 Function scope 2:50 Python name resolving 3:30 Built-in scope 4:50 Namespace with modules 6:35 Enclosing namespace 8:24 Modify out of scope 10:25 Global and nonlocal cause side effects #closure #scope #namespace

▶︎
What is Scope in Python??

▶︎
Why You Shouldn't Use the Global Keyword in Python

▶︎
Python Has a Hidden Contract — And It Changes Everything

▶︎
But what is a neural network? | Deep learning chapter 1

▶︎
What does '__init__.py' do in Python?

▶︎
Turing Award Winner: Disagreeing with Google, Postgres, Future Problems | Mike Stonebraker

▶︎
Python OOP Will Finally Make Sense After This

▶︎
LAWYER: If Cops Ask "Where Are You Coming From?" - Say These Words

▶︎
Python Syntax - Everything you need to know!

▶︎
10 Important Python Concepts In 20 Minutes

▶︎
Creator of C++: Bell Labs, Negative Overhead Abstraction, Mistakes | Bjarne Stroustrup

▶︎
Python tutorial: Variable Scopes & Namespaces - global/local/nonlocal | Explained with animations

▶︎
Casey Muratori – The Big OOPs: Anatomy of a Thirty-five-year Mistake – BSC 2025

▶︎
Python Full Course for Beginners

▶︎
Namespaces in Python: Built-in, Global, Enclosing, and Local

▶︎
Python Functions - Visually Explained

▶︎
One Formula That Demystifies 3D Graphics

▶︎
Learn Python multithreading in 8 minutes! 🧵

▶︎
Python Tutorial: Variable Scope - Understanding the LEGB rule and global/nonlocal statements

▶︎
