Try the following: def printFoo(): print "Foo"
def printFOO(): print "FOO" functions = ("printFoo", "printFOO") # list or tuple of strings from file, or wherever for function in functions: call = function + "()" eval(call) -- http://mail.python.org/mailman/listinfo/python-list