On Wed, 18 Jul 2006, Sanjay wrote: > What is the equivalent in Python? Inheriting is a way, but is not > working in all scenerios.
Have you tried multiple inheritance? For example: from GeneratedPerson import GeneratedPerson from HandcraftedPerson import HandcraftedPerson class Person(GeneratedPerson, HandcraftedPerson): pass If this doesn't work for you, can you explain why? Dave -- http://mail.python.org/mailman/listinfo/python-list