I hope to execute multiple functions in the module by passing parameters.
For example: there are functions daifu, jiekuan, and tixian in the tb module
import tb
tb.daifu.save(os.path.join(args.savedir, xlname))
Directly write the module. The function name can be called. But if the value of the function name is passed, the type is wrong. It is not a function but a string.
I would like to ask how to use the function name of the parameter type as a function?
Is this so?