How to load a Class from File given only its String specification in Python?

后端 未结 0 1844
死守一世寂寞
死守一世寂寞 2020-12-31 07:39

I intend to let a user decide during runtime (in my Python 3.8 program) which class from a given set of classes to load for executing some actions. For example, if we were t

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