Inverse of dict(zip(x,y))

Andre Engels andreengels at gmail.com
Thu Mar 5 12:43:37 EST 2009


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()...


-- 
André Engels, andreengels at gmail.com



More information about the Python-list mailing list