title: Call a function with argument list in python
body: <p>I'm trying to call a function inside another function in python, but can't find the right syntax. What I want to do is something like this:</p>
  
  <pre><code>def wrapper(func, args):
      func(args)
  
  def func1(x):
      print(x)
  
  def func2(x, y, z):
      return x+y+z
  
  wrapper(func1, [x])
  wrapper(func2, [x, y, z])
  </code></pre>
  
  <p>In this case first call will work, and second won't.
  What I want to modify is the wrapper function and not the called functions.</p>