title: Know the depth of a dictionary
body: <p>Supposing we have this dict:</p>
  
  <pre><code>d = {'a':1, 'b': {'c':{}}}
  </code></pre>
  
  <p>What would be the most straightforward way of knowing the nesting <em>depth</em> of it?</p>