Sure!
Make a dictionary: fdict = {"A":fa, "B":fb, ... } Then consider x = "A" result = fdict(x)(param1, param2) should call fa without any if's... Gerry
-- http://mail.python.org/mailman/listinfo/python-list
Sure!
Make a dictionary: fdict = {"A":fa, "B":fb, ... } Then consider x = "A" result = fdict(x)(param1, param2) should call fa without any if's... Gerry
-- http://mail.python.org/mailman/listinfo/python-list