title: Populating a Python dictionary
body: <p>Hi I'm building a dictionary where each key is a customer name and each value is a list of tuples which are purchased by each customer, like so: (product, quantity).  For example:</p>
  
  <pre><code>{'customer1': (('milk', 3), ('bread', 5), ('eggs', 2)),
   'customer2': (('cheese', 2), ('cereal', 7))}
  </code></pre>
  
  <p>I am populating the dictionary based on the results of a SQL query.  Being a Java programmer new to Python, can someone suggest the "pythonic" way to do this?  Each row from the query contains customer name, product, quantity.</p>