I have a list that contains several tuples, like:
[('a_key', 'a value'), ('another_key', 'another value')]
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:
"mylist.a_key"
or "mylist['a_key']"
without iterating over the list. any ideas?