title: How to find out the default values of a particular function's argument in another function in Python?
body: <p>Let's suppose we have a function like this:</p>
  
  <pre><code>def myFunction(arg1='a default value'):
    pass
  </code></pre>
  
  <p>We can use introspection to find out the names of the arguments that <code>myFunction()</code> takes using <code>myFunction.func_code.co_varnames</code>, but how to find out the default value of <code>arg1</code> (which is <code>'a default value'</code> in the above example)?</p>