Re: Newbie Dictionary from tuples

2006-03-27 Thread Felipe Almeida Lessa
Em Seg, 2006-03-27 às 14:26 -0500, Tommy Grav escreveu: > I have two tuples: keys and subjects. How do I construct a dictionary > using these two tuples? dict(zip(keys, subjects)) -- Felipe. -- http://mail.python.org/mailman/listinfo/python-list

Newbie Dictionary from tuples

2006-03-27 Thread Tommy Grav
I have two tuples: keys and subjects. How do I construct a dictionary  using these two tuples?CheersTommy[EMAIL PROTECTED]http://homepage.mac.com/tgrav/"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the