Access list of tuples
<p>I have a list that contains several tuples, like:</p>

<pre><code>[('a_key', 'a value'), ('another_key', 'another value')]
</code></pre>

<p>where the first tuple-values act as dictionary-keys.
I'm now searching for a python-like way to access the key/value-pairs, like:</p>

<p><code>"mylist.a_key"</code> or <code>"mylist['a_key']"</code></p>

<p>without iterating over the list. any ideas?</p>
