彭山网站建设设计

将想法与焦点和您一起共享

python字典转对象

class DictToStruct:
    def __init__(self, **entries):
        self.__dict__.update(entries)
struct = DictToStruct(**temp)

当前题目:python字典转对象
文章路径:http://www.zyjierui.cn/article/ppiico.html

其他资讯