I have two classes: class implicitClass: def __init__(self): def isIVR(self): #This is a class private method. def fromfile(self, fileObj, byteOrder): def getVR(self): def getGroup(self): def getElement(self): def getSize(self): def getData(self):
class explicitClass: def __init__(self): def fromfile(self, fileObj): def getVR(self): def getGroup(self): def getElement(self): def getSize(self): def getData(self): As you can see the interface is almost identical. How can I define a base class that will abstract the type such that I don't know if its really and inplicit or explicit object? -- http://mail.python.org/mailman/listinfo/python-list