Inverse of dict(zip(x,y))
tino at wildenhain.de
Fri Mar 6 14:24:54 CET 2009
Andre Engels wrote:
> On Thu, Mar 5, 2009 at 6:01 PM, Tino Wildenhain <tino at wildenhain.de> wrote:
>> Still I'd like to see an application where this really matters (that
>> keys() and values() match in order)
> I think there are many such applications, but also that in each of
> those cases it's a mis-programming of something that would be done
> better and more pythonic using items()...
Thats what I'm thinking, so I'd like to see a few if there are so many...
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3241 bytes
Desc: S/MIME Cryptographic Signature
More information about the Python-list