title: How to set value in shelve
body: <p>I want to store dictionary in shelve and also want to put data in that. How can i do that?</p>
  <pre><code>import shelve
  
  s = shelve.open(&quot;test&quot;)
  s['flag'] = {}
  </code></pre>