Python class written in string to literal object

后端 未结 0 1502
栀梦
栀梦 2020-12-01 14:22

I am trying to save a class written in string format to a database, then read this and load the class as literal class.

How can I do this?

test = "         


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