title: Python dict with three values in the for loop
body: <p>Using python I have some code that looks like this:</p>
  
  <pre><code>for (key, value) in files:
      ...
  </code></pre>
  
  <p>A working list for the above could be:</p>
  
  <pre><code>files = [(
     'key1', 'value1'
  ), ...]
  </code></pre>
  
  <p>I now found this code:</p>
  
  <pre><code>for (key, filename, value) in files:
      ...
  </code></pre>
  
  <p>How would the dict look for me to get <code>key</code>, <code>filename</code> and <code>value</code>?</p>