First page Back Continue Last page Overview Graphics

Namespaces and Scopes

A namespace is a mapping from names to objects.

Namespaces are usually implemented in Python as dictionaries.

A scope is a textual region of a Python program where a namespace is directly accessible.

Scopes in Python:

Searched

for in this

order