会员
众包
新闻
博问
闪存
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
lzp的bky
博客园
首页
新随笔
联系
订阅
管理
2018年3月29日
一种比较优雅的写法
摘要: class AttrDict(dict): """Dict that can get attribute by dot""" def __init__(self, *args, **kwargs): super(AttrDict, self).__init__(*args, **kwargs) se
阅读全文
posted @ 2018-03-29 16:49 lzp的bky
阅读(144)
评论(0)
推荐(0)
编辑
公告