Hi people!

Assume we have 2 methods, one called Fire and the other __DoSomething.

I want the param which is a string to be converted, that I can fire
directly a method. Is it somehow possible in python, instead of writing
if else statements ???!



Tamer


class(object):
    def Fire(self,param)
        #possible ?!
        self.__param():


    def _DoSomething(self):
        print 'I did it!'
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to