Hey Gang, Can a function/method be added to a dictionary like so:
myDictionary = {"string":processString(parameter), "string2":processString2(parameter), "string3":processString3(parameter) } I am basically interested in doing this with a Combobx Event. When the user selects an option in my dropdown box (event.GetString()) that matches the string in my dictionary...say "string2" then the method: processString2(parameter) is executed. Currently when I get the value of: myDictionary[string2] it is None. Thanks for your help! Lauren _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor