com inheritance

Z

zaatar05

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,990
Messages
2,570,211
Members
46,796
Latest member
SteveBreed

Latest Threads

Top