摘要: Collections: 1,namedtuple 生成可以使用名字来访问元素内容的tuple >>> Point = namedtuple('point',['x','y','z']) >>> p1 = Point(1,2,3) >>> p1 point(x=1, y=2, z=3) >>> p2 阅读全文
posted @ 2020-03-20 17:10 2020不在低调 阅读(118) 评论(0) 推荐(0)