title: How to append to a dictionary of dictionaries
body: <p>I'm trying to create a dictionary of dictionaries like this:</p>
  
  <pre><code>food = {"Broccoli": {"Taste": "Bad", "Smell": "Bad"},
          "Strawberry": {"Taste": "Good", "Smell": "Good"}}
  </code></pre>
  
  <p>But I am populating it from an SQL table. So I've pulled the SQL table into an SQL object called "result". And then I got the column names like this:</p>
  
  <pre><code>nutCol = [i[0] for i in result.description]
  </code></pre>
  
  <p>The table has about 40 characteristics, so it is quite long. </p>
  
  <p>I can do this...</p>
  
  <pre><code>foodList = {}
  for id, food in enumerate(result):
      addMe = {str(food[1]): {nutCol[id + 2]: food[2], nulCol[idx + 3]: 
              food[3] ...}}
      foodList.update(addMe)
  </code></pre>
  
  <p>But this of course would look horrible and take a while to write. And I'm still working out how I want to build this whole thing so it's possible I'll need to change it a few times...which could get extremely tedious. </p>
  
  <p>Is there a DRY way of doing this?</p>