class AttrDict(dict) 在 jupyter notebook 中加入属性词典 class AttrDict(dict): def __init__(self, *args, **kwargs): super(AttrDict, self).__init__