[PyKDE] Python/PyKDE newbie question

Albert Wagner alwagner at tcac.net
Mon Jan 31 22:44:56 GMT 2000


Sorry, but I am trying to learn Python and PyKDE at the same time.  So I
don't know if PyKDE is the appropriate forum.  Re: the code below, I
cannot find any documentation that explains the "apply" statement.

class KMyAppWidget(QWidget):
	def __init__(self,*args):
		apply(QWidget.__init__,(self,) + args)

I am also confused about where "*args" come from.  Thanks for any help.

-- 
"Mutual cooperation can emerge in a world of egoists without central
control, by starting with a cluster of individuals who rely on
reciprocity"   --Robert Axelrod





More information about the PyQt mailing list