Skip to content

Instantly share code, notes, and snippets.

@phatduckk
Created February 1, 2010 01:55
Show Gist options
  • Save phatduckk/291389 to your computer and use it in GitHub Desktop.
Save phatduckk/291389 to your computer and use it in GitHub Desktop.
# create dict from *args
kw = {}
kw.update(dict(zip(func.func_code.co_varnames, args)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment