Python: filter dict to contain only certain keys?
<p>I've got a <code>dict</code> that has a whole bunch of entries. I'm only interested in a select few of them. Is there an easy way to prune all the other ones out?</p>
