摘要: 模块 collections模块 1、namedtuple:生成可以使用名字来访问元素内容的tuple from collections import namedtuple namedtuple('名称', [属性list]): from collections import namedtuple 阅读全文
posted @ 2018-06-09 18:17 聂光宗 阅读(356) 评论(0) 推荐(0) 编辑