title: Find a given key's value in a nested ordered dict python
body: <p>I am trying to find the value of a given key from a nested OrderedDict. </p>
  
  <p>Key points:</p>
  
  <ul>
  <li>I don't know how deep this dict will be nested</li>
  <li>The name of the key I am looking for is constant, it will be somewhere in the dict</li>
  </ul>
  
  <p>I would like to return the value of the key called "powerpoint_color" in this example...</p>
  
  <pre><code>mydict= OrderedDict([('KYS_Q1AA_YouthSportsTrustSportParents_P',
                        OrderedDict([('KYS_Q1AA',
                                      OrderedDict([('chart_layout', '3'),
                                                   ('client_name', 'Sport Parents (Regrouped)'),
                                                   ('sort_order', 'asending'),
                                                   ('chart_type', 'pie'),
                                                   ('powerpoint_color', 'blue'),
                                                   ('crossbreak', 'Total')]))])),
  </code></pre>
  
  <p>My initial thought is to do something like this:</p>
  
  <pre><code>print mydict[x][i]['powerpoint_color']
  </code></pre>
  
  <p>But I get this error:</p>
  
  <pre><code>list indices must be integers, not str
  </code></pre>
  
  <p>Any advice?</p>