title: function pointers in python
body: <p>I would like to do something like the following:</p>
  
  <pre><code>def add(a, b):
      #some code
  
  def subtract(a, b):
      #some code
  
  operations = [add, subtract]
  operations[0]( 5,3)
  operations[1](5,3)
  </code></pre>
  
  <p>In python, is it possible to assign something like a function pointer?</p>