Python - Call class method by variable name

后端 未结 0 1995
谎友^
谎友^ 2020-12-06 07:46

I am attempting to call a class method by variable name that I extract from an external file, as seen below:

structures.py:

event_map = {\'year\' : \'g         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题