I have a class:
class A(object): def __init__(self,a,b,c,d,e,f,g,...........,x,y,z) #do some init stuff
And I have a subclass w
Are you wanting something like this?
class A(object): def __init__(self, a, b, c, d, e, f, g): # do stuff print a, d, g class B(A): def __init__(self, *args): args = list(args) self.__W = args.pop() A.__init__(self, *args)