still struggling, howto use a list-element as a name ?

rzed rzantow at gmail.com
Sat Jan 6 22:56:43 EST 2007


Bruno Desthuilliers <bdesth.quelquechose at free.quelquepart.fr> wrote 
in news:45a01c05$0$319$426a74cc at news.free.fr:

> rzed a écrit :
> (snip)
>>         for k in self.pin.keys():
>>             self.__dict__[self.pin[k]['Name']] = self.pin[k]
> 
> for pin self.pin.values():
>    self.__dict__[pin['name']] = pin
> 

D'oh! Of course! Thank you.

-- 
rzed



More information about the Python-list mailing list