import inspect

def get_default_args(func):
    """
    returns a dictionary of arg_name:default_values for the input function
    """
args, varargs, keywords, defaults = inspect.getargspec(func)
return dict(zip(args[-len(defaults):], defaults))
Get a function argument's default value?