[Tutor] args to functions in a dictionary?

Alex Hall mehgcap at gmail.com
Wed Aug 25 23:58:42 CEST 2010


Hi all,
If I wanted to have a dictionary containing functions, could I pass
args to those functions? For example:
menu={
 "option 1":f1,
 "option 2":f2
}
How would I pass args to f1 or f2 in this case? TIA.

-- 
Have a great day,
Alex (msg sent from GMail website)
mehgcap at gmail.com; http://www.facebook.com/mehgcap


More information about the Tutor mailing list