Re:Python Best Practice Patterns
by gmjosack on Friday February 28, 2014 @12:22PM
(#7320097)
You might be interested in the docs on the Data Model [0] to learn more about the various "dunder" (__foo__) methods. There are a ton of cool things you can do with python objects.
[0] http://docs.python.org/2/reference/datamodel.html