list of dictionaries

George Thomas george at cc.gatech.edu
Thu Jun 28 00:05:21 CEST 2001


Hi,
I wanted to avoid the creation of a new dict per entry. What I haven't
been able to understand is why the "updated" dict is not appended.

------------- Emile van Sebille wrote:
> 
> Note changes below
> 
> --
> 
> Emile van Sebille
> emile at fenx.com
> 
> #This creates a single dict that gets appended each time
> #by creating a new dict for each entry as per below
> #you don't really need this anymore.
> 
regards
------------------------------------------------------------
George Thomas
------------------------------------------------------------
reduce (lambda c,d:chr(ord(d)-2)+c, 'ofcpqkekhhC"zwpkN"fgtgyqR/pqjv{R')
------------------------------------------------------------



More information about the Python-list mailing list