[dictionary] how to get key by item

Skip Montanaro skip at pobox.com
Tue Dec 14 04:10:24 CET 2004

    Tim> Python will do what you tell it. In the above case, it will build a
    Tim> list.

Whoops, yeah.  I called .iteritems() then forgot to use a generator


More information about the Python-list mailing list