Is it possible to do something like this:
def fns(Names, Args, Bodies):
for i in range(len(Names)):
exec("def " + Names[i] + "(" + Args + "): " + Bodies[i])
All functions should be in the global scope, amount of calling code should not depend on number of functions.