title: How to use a variable as function name in Python
body: <p>Would it be possible to use a variable as a function name in python?
  For example:</p>
  
  <pre><code>list = [one, two, three]
  for item in list:
      def item():
           some_stuff()
  </code></pre>