[Tutor] namespaces and the __dict__ function?

John Gunderman meanburrito920 at yahoo.com
Fri Jan 25 18:49:43 CET 2008


I am new to python and have found both the concept of namespaces and the __dict__ function to be rather confusing, and I cant find any good explanations on the web. Could any of you give me a good explanation of these? And for __dict__, is is the same thing as __str__ except in string form, or does it store all current objects of that class in a __dict__?

John




      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20080125/74b6c12c/attachment.htm 


More information about the Tutor mailing list