Popular recipes by Alex Naanou http://code.activestate.com/recipes/users/104183/2004-10-28T00:37:49-07:00ActiveState Code Recipesfancy rich comparisons and MAXIMUM ANY and MINIMUM objects... (Python) 2004-10-28T00:37:49-07:00Alex Naanouhttp://code.activestate.com/recipes/users/104183/http://code.activestate.com/recipes/325394-fancy-rich-comparisons-and-maximum-any-and-minimum/ <p style="color: grey"> Python recipe 325394 by <a href="/recipes/users/104183/">Alex Naanou</a> (<a href="/recipes/tags/algorithms/">algorithms</a>). Revision 3. </p> <p>here we will see an example of template comparisons based on a logical ANY object. also this recipe provides alternative implementations of the absolute maximum and minimum objects (for more details on them see PEP326 <a href="http://www.python.org/peps/pep-0326.html%29." rel="nofollow">http://www.python.org/peps/pep-0326.html).</a></p> mixins for proxy construction... (Python) 2004-09-18T20:54:37-07:00Alex Naanouhttp://code.activestate.com/recipes/users/104183/http://code.activestate.com/recipes/305308-mixins-for-proxy-construction/ <p style="color: grey"> Python recipe 305308 by <a href="/recipes/users/104183/">Alex Naanou</a> (<a href="/recipes/tags/oop/">oop</a>). Revision 2. </p> <p>Here we will demonstrate a technique that will make it possible to semi-transparently proxy an object and override/proxy methods or data including special methods like __call__. this module will define several general tools and components that can be used as a basis for creation of various proxy classes...</p> another curry... (Python) 2003-09-17T02:38:37-07:00Alex Naanouhttp://code.activestate.com/recipes/users/104183/http://code.activestate.com/recipes/222061-another-curry/ <p style="color: grey"> Python recipe 222061 by <a href="/recipes/users/104183/">Alex Naanou</a> (<a href="/recipes/tags/algorithms/">algorithms</a>). Revision 4. </p> <p>this recipe defines two sets of functional-style curry and rcurry (right curry).</p> <p>this is a compliment to: <a href="http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/52549" rel="nofollow">http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/52549</a></p> A fun litle tree class.. (Python) 2003-01-10T19:38:17-08:00Alex Naanouhttp://code.activestate.com/recipes/users/104183/http://code.activestate.com/recipes/173217-a-fun-litle-tree-class/ <p style="color: grey"> Python recipe 173217 by <a href="/recipes/users/104183/">Alex Naanou</a> . Revision 2. </p> <p>this recipe describes a tree backbone class that supports two modes of iteration and topological comparison. and it has a nice node access inteface.</p>