def attrs2dict(attrs):
    '\n    将一个 HDF5 attr 类转为 Dict 类\n    :return:\n    '
    d = {}
    for (k, v) in list(attrs.items()):
        d[k] = v
    return d
将一个 HDF5 attr 类转为 Dict 类
:return:
def attrs2dict(attrs):
    '\n    将一个 HDF5 attr 类转为 Dict 类\n    :return:\n    '
    d = {}
    for (k, v) in list(attrs.items()):
        d[k] = v
    return d