title: parse a dot seperated string into dictionary variable
body: <p>I have string values as,</p>
  
  <pre><code>"a"
  "a.b"
  "b.c.d"
  </code></pre>
  
  <p>How to convert them into python dictionary variables as,</p>
  
  <pre><code>a
  a["b"]
  b["c"]["d"]
  </code></pre>
  
  <p>The first part of the string (before dot) will become the dictionary name and the rest of the substrings will become the dictionary keys</p>