[Edu-sig] Gutless classes

Dethe Elza delza at livingcode.org
Thu Sep 8 23:03:08 CEST 2005


You can do the Ruby-style class extension, but it takes a little more  
setup-up in Python.  See this Python Cookbook article for one  
approach.  This works on existing classes, not just "gutless" or stub  
classes.

Extending Classes
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/412717

--Dethe

Art is either plagiarism or revolution. --Paul Gauguin




More information about the Edu-sig mailing list