com inheritance

zaatar05 at walla.com zaatar05 at walla.com
Wed Feb 22 15:50:28 EST 2006


Hi

I have a python class, which i want to wrap in a COM class

Can the COM class inherit all the methods and attributes and thus be
used by a COM client?
example:


class A:
    __init__(self, Param):
       self.Param = Param

class COMA(A):
   _public_attributes_ = ["Param"]
   def __init__(self, Param):
       A.__init__(self, Param)

thanks in advance




More information about the Python-list mailing list