Python collections模块使用方法详解 一、collections模块1.函数namedtuple(1)作用:tuple类型,是一个可命名的tuple(2)格式:collect collections模块