looping through the keys of a dictionary

Gerhard Häring gerhard.nospam at bigfoot.de
Mon Aug 27 13:26:07 EDT 2001


On Mon, 27 Aug 2001 17:09:33 +0200, Alex Martelli <aleax at aleax.it> wrote:
> [...]
>It's the stock 2.1.1 version for Windows as downloaded from comp.lang.python,
>though.

... which had better been posted in alt.binaries.* ;-)

Gerhard
-- 
mail:   gerhard <at> bigfoot <dot> de       registered Linux user #64239
web:    http://www.cs.fhm.edu/~ifw00065/    public key at homepage
public key fingerprint: DEC1 1D02 5743 1159 CD20  A4B6 7B22 6575 86AB 43C0
reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b')))



More information about the Python-list mailing list