摘要: 一collection模块 1.1namedtuple(具名元组) 具名元组:生成可以使用名字来访问元素内容的tuple eg: from collections import namedtuple point = namedtuple('坐标点',['x','y','z']) # 第一个参数是整个 阅读全文
posted @ 2019-07-18 20:57 z929虫子 阅读(209) 评论(0) 推荐(0) 编辑