我定义了以下字符串,它们指定了python模块名称,python类名称和静态方法名称。
module_name = "com.processors" class_name = "FileProcessor" method_name = "process"
我想调用method_name变量指定的静态方法。
我如何在python 2.7+中实现这一目标
python introspection
introspection ×1
python ×1