To fully understand how Python code executes, we need to visualize what happens in the global space , the call stack where call frames live, and the heap space where objects (folders) live.
import
a module?
Slides:
individual slides for viewing
,
6-up layout for printing
Examples:
v1.py
,
v2.py
,
v3.py
,
shape.py
To download the above .py files, right-click (Windows) or command-click (Macs) on the filename and then select "Save link as".
This way
you
choose where the files will be saved, instead of having your computer save to the default folder (from which you will later have to move your files for organization).