python字典转对象 类DictToStruct: def __init__(自我,* *项): self.__dict__.update(条目) struct=DictToStruct(* *临时) python字典转对象 上一篇 下一篇 赞