I want to call some unknown function with adding parameters using getattr function. Is it possible?
Yes, but you don't pass them to getattr(); you call the function as normal once you have a reference to it.
getattr()
getattr(obj, 'func')('foo', 'bar', 42)