python html 2 image (png)

joe Li joehust at
Thu Oct 26 09:06:38 CEST 2006

**class Bunch(object):
    def __init__(self, **fields):
        self.__dict__ = fields

p = Bunch(x=2.3, y=4.5)
print p

print p.__dict__

I dont' understand the usage of the double * here, could anyone explain it
for me? thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list