Python create dict from other dict
<p>What is the best way to create a dict with some attributes from other dict with Python?</p>

<p>Example:</p>

<p>From this dict:</p>

<pre><code>dict1 = {
    name:          'Jaime',
    last_name:     'Rivera',
    phone_number:  '111111',
    email:         'test@gmail.com',
    password :     'xxxxxxx',
    token:         'xxxxxxx',
    secret_stuff:  'yyyyyyy'   
}
</code></pre>

<p>I want to get:</p>

<pre><code>dict2 = {
    name:          'Jaime',
    last_name:     'Rivera',
    phone_number:  '111111',
    email:         'test@gmail.com'
}
</code></pre>
