(Some python basics here)

Python Object Model

a is b # pointer comparison, are those 2 objects the same object?
a == b # content comparison

Modularization

Namespace = dictionary

keys are python identifiers, values can be functions, functions etc

A class is an object. It has a member that contains its names as a dictionary

names starting '__' are special

Modules

Source files that contains classes that can be imported
import foo

This would:

  1. Create a new namespace N
  2. Read and execute foo.py's code in N
  3. foo = N