Passing a method in python
<p>I am having problems passing a method in a function.  I have already looked at this previous post.</p>

<p><a href="http://stackoverflow.com/questions/706721/how-do-i-pass-a-method-as-a-parameter-in-python">How do I pass a method as a parameter in python</a></p>

<p>Here is a simple example of what I tried.</p>

<pre><code>def passMethod(obj, method):
    return obj.method()

passMethod('Hi', lower)
</code></pre>

<p>In the end I will use this to help write a function dealing with GIS (Geographic Information Systems) data. The data is like an array.  I want to add a new column NAME1 to the array.  The array then has a method to call the column array.NAME1.</p>

<p>Regards,
Alex</p>
