title: Set the name of dictionary in Python
body: <p>I have a dictionary of unknown size, with keys=integers and value=strings.
  I need to create a dictionary for every entry. Moreover I need the values of the previous dictionary to be the names of the new dictionaries.</p>
  
  <p>Example:</p>
  
  <pre><code>dict1 = {0:'One', 1:'Two', 2:'Three'}
  for key,value in dict1.items():
      value = {}
  </code></pre>
  
  <p>in this way of course I get the number of dictionaries I want but not the name. I wish I had:</p>
  
  <pre><code>One = {}
  Two = {}
  Three = {}
  </code></pre>