python get all ids startingwith a pattern
<p>How to select all the elements starting with id123 in the following dictionary</p>

<pre><code>b = {'id123_1': ['ddf', 1], 'id123_2': ['dff', 1], 'id789': ['ddf', 1]}
</code></pre>
