python用字符串调用当前模块内的函数

eval(字符串)()

vars()[字符串]()

例如:

原文地址:https://www.cnblogs.com/hujq1029/p/7265450.html