Python基础 collections模块
摘要:
collections模块 collections模块在内置数据类型(dict、list、set、tuple)的基础上,还提供了几个额外的数据类型:ChainMap、Counter、deque、defaultdict、namedtuple和OrderedDict等。 1.namedtuple: 生成 阅读全文
posted @ 2018-05-29 21:28 hello1230 阅读(139) 评论(0) 推荐(0)
浙公网安备 33010602011771号