Is there a Python equivalent for Ruby\'s define_method, which would allow dynamic generation of class methods? (as can be seen in Wikipedia\'s Ruby example code
define_method
Either look into abstract base classes:
http://docs.python.org/library/abc.html
or
check the options that the 'new' (or the newer 'types') module provides to you.