Genrate dynamic method in python2.7 class
<p>I want to have class with dynamic method.</p>

<p>from those arrays:</p>

<pre><code>prefix = ['android','iphone','blackberry'] 
method = ['AddToPush','DelFromPush','GetPushMessages']
</code></pre>

<p>create class like: </p>

<pre><code>class MobileManager(object)

    def __init__(self):
        self.mobileLib = MobileLib()

    def androidAddToPush(self, args):
        self.mobileLib.AddToPush(args, 'android')

    def iphoneAddToPush(self, args):
        self.mobileLib.AddToPush(args, 'iphone')    

    def blackberryAddToPush(self, args):
        self.mobileLib.AddToPush(args, 'blackberry') 

   [...]
</code></pre>

<p>how can i create this methods on runtime?</p>
