[Tutor] Notes on namespaces, scopes, etc

Dave Kuhlman dkuhlman at rexx.com
Thu Jul 27 17:52:00 CEST 2006


I've written up a few notes on Python namespaces and scopes.  If
anyone has corrections, comments, or suggestions, I'd appreciate
them. You can find my comments here:

    http://www.rexx.com/~dkuhlman/python_comments.html#namespaces

I wrote these notes because I found that I did not understand
Python namespaces as well as I thought I did.  Writing the
comments seemed like a good way to work through and learn about
namespaces, scopes, variables, bindings, etc.

By the way, I was motivated to write these notes because of the
"loops to assign variables" thread on this list a few days ago.
I'm hoping that my notes show that I learned from that thread.

Dave

-- 
Dave Kuhlman
http://www.rexx.com/~dkuhlman


More information about the Tutor mailing list