How to turn a list of tuples into a dictionary?
mrstephengross
mrstevegross at gmail.com
Tue Feb 26 12:15:16 EST 2008
> How about this?
> d = dict(tuples)
Aha! I hadn't realized it could be so simple.
--Steve
More information about the Python-list
mailing list