Converting a dict into a list
<p>I have</p>

<pre><code>{key1:value1, key2:value2, etc}
</code></pre>

<p>I want it to become:</p>

<pre><code>[key1,value1,key2,value2] , if certain keys match certain criteria.
</code></pre>

<p>How can i do it as pythonically as possible?</p>

<p>Thanks!</p>
