python evaluate functions with parameters given by a dictionary -


with python how can evaluate dictionary of functions associate parameters. more specific, keys functions , values list of paramters.

for example, consider dictionary:

{f1: [a, b, c], f2: [q], f3: [5, c]} 

how iterate on functions compute:

f1(a, b, c) f2(q) f3(5, c) 

alternately:

for key in dct:     key(*dct[key]) 

Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -