Inverse of dict(zip(x,y))

Andre Engels andreengels at
Thu Mar 5 18:43:37 CET 2009

On Thu, Mar 5, 2009 at 6:01 PM, Tino Wildenhain <tino at> 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

More information about the Python-list mailing list