How to turn a list of tuples into a dictionary?

Paul Rubin http
Tue Feb 26 12:09:55 EST 2008


mrstephengross <mrstevegross at gmail.com> writes:
>   ( ('a', '1'), ('b', '2'), ('c', '3')

I'm not trying to be snide, but have you tried looking in the manual?

See http://python.org/doc/lib and look at the section about built-in
types, if you want to know things about tuples or dictionaries.



More information about the Python-list mailing list