python: passing a function with parameters as parameter,func(*args)