Steve Holden was asking on the PSF members list (some overlap with
here) for other ways to diagram / teach about namespaces in his
slides.

This is the slide show he's talking about.

http://holdenweb.com/files/PythonIntro.pdf  (namespaces = like clouds)

After some back and forth, another visual:

http://www.flickr.com/photos/17157315@N00/7276024654/in/photostream

The namespace is a way objects on the heap get to be "thought of" by
the interpreter.

The "thought balloon" (similar to Steve's cloud) in contrast to a pile
of rocks (objects) belongs to the Python inside.

Kirby
_______________________________________________
Edu-sig mailing list
Edu-sig@python.org
http://mail.python.org/mailman/listinfo/edu-sig

Reply via email to