title: calling a function from a list in python
body: <p>Take this example:</p>
  
  <pre><code>presets = [
      "eggs",
      "bacon"
      ]
  
  print(presets[0])
  &gt;&gt;&gt; eggs
  </code></pre>
  
  <p>Why can a not do the same thing, with a list of items to execute? Take this example:</p>
  
  <pre><code>from animations import animation_2, animation_3, animation_4
  presets = [
      animation_2.iterate(animations_templates_path, thumbnails_final),
      animation_3.iterate(animations_templates_path, thumbnails_final),
      animation_4.iterate(animations_templates_path, thumbnails_final)
      ]
  </code></pre>
  
  <p>When I run this (both WITH and WITHOUT the <code>preset[n]</code>) it executes all three commands in the list. Why is this? I would like to have a list of those presets, and call them via am index number. What am I doing wrong?</p>