title: How to access the content of Nested dictionary in python
body: <p>For the above dictionary I am trying to iterate to access the values in my nested dictionary. I want to access <code>'Pos': (8.426625936328438, 8.734385941525895)</code>  key,value pair from nested dictionary, but I'm not able to access the nested dictionary values.</p>
  
  <pre class="lang-py prettyprint-override"><code>(
      0,
      {
          'id': 0,
          'name': 0,
          'data': {
              'Mha': 'PHMA1',
              'Rack': '101',
              'RackNbr': 1,
              'HorCoor': '1',
              'VerCoor': 10,
              'Pos': (8.426625936328438, 9.387017518725838),
              'Type': 'pick'
          }
      }
  )
  
  (
      1,
      {
          'id': 1,
          'name': 1,
          'data': {
              'Mha': 'PHMA1',
              'Rack': '101',
              'RackNbr': 1,
              'HorCoor': '6',
              'VerCoor': 10,
              'Pos': (8.426625936328438, 8.734385941525895),
              'Type': 'pick'
          }
      }
  )
  </code></pre>
  
  <p>Here's the code I tried:</p>
  
  <pre class="lang-py prettyprint-override"><code>for id in NodeDict:
      print("Node Id", id)
          for key in NodeDict[id]:
              print(key + ':', NodeDict[id][key])
  </code></pre>
  
  <p>Output for what I tried:</p>
  
  <pre class="lang-py prettyprint-override"><code>Node Id 0
  id: 0
  name: 0
  data: {'Mha': 'PHMA1', 'Rack': '101', 'RackNbr': 1, 'HorCoor': '1', 'VerCoor': 10, 'Pos': (9.680053042990044, 10.65663364187665), 'Type': 'pick'}
  
  Node Id 1
  id: 1
  name: 1
  data: {'Mha': 'PHMA1', 'Rack': '101', 'RackNbr': 1, 'HorCoor': '6', 'VerCoor': 10, 'Pos': (9.680053042990044, 9.88930691075074), 'Type': 'pick'}
  }]
  </code></pre>
  
  <p>But I want to access only Pos value. Can any one here help?</p>