title: How to make a 'str' object callable using lambda functions?
body: <p>I have some predefined functions with me, like :
  addhost, edithost, deletehost.</p>
  
  <p>Now based on some param received, I have to call one of the above functions.
  Now the value of param is same as one of the above functions.The type of param is str.</p>
  
  <p><strong>For Example:</strong> If param is 'addhost', then I should be able  to call addhost().
  But when I do it directly, It gives me the error as <code>'str' object is not callable</code>
  How should I call the appropriate function based on param received ??</p>
  
  <p><strong>P.S.</strong> I dont want to use conditionals, I only want to go with something like lambda functions.</p>