human
Calling a function of a module from a string with the function's name in Python
assistant
Here is some code to calling a function named 'myfunction' in the module

globals()['myfunction']()

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.