Split a dictionary into 2 dictionaries
<p>What is the best way to split a dictionary in half?</p>

<pre><code>d = {'key1': 1, 'key2': 2, 'key3': 3, 'key4': 4, 'key5': 5}
</code></pre>

<p>I'm looking to do this:</p>

<pre><code>d1 = {'key1': 1, 'key2': 2, 'key3': 3}
d2 = {'key4': 4, 'key5': 5}
</code></pre>

<p>It does not matter which keys/values go into each dictionary. I am simply looking for the simplest way to divide a dictionary into two.</p>
