title: Creating or assigning variables from a dictionary
body: <p>I tried to ask this question once before, but nobody understood what I want to ask. So I've found example in PHP.</p>
  <pre><code>// $_POST = array('address' =&gt; '123', 'name' =&gt; 'John Doe');
  extract($_POST);
  echo $address;
  echo $name
  </code></pre>
  <p>Is there's a function like <code>extract()</code> in <strong>Python?</strong></p>
  <p>So the same goes to dictionary:</p>
  <pre><code>mydict = {'raw':'data', 'code': 500}
  // some magic to extract raw and code as vars
  print raw
  </code></pre>
  <p>P.S. Why I want to do this: When you're in class method, it's damned hard to have 6 manipulation with strings in <code>join()</code> and <code>format()</code> when string is <code>self.data['raw']['code']</code> (assume it's a dict in a dict).</p>