序列构成的数组 十二月 9, 2019 发布在 python, 《流畅的python》 序列构成的数组: 容器序列:list、tuple和collections.dequeue这些序列能存放不同类型的数据 扁平序列:str、bytes、bytearray、memeoryview和array.array这些序列只能存放一种类型的数据 可变序列:list、bytearray、array.array、collections.dequeue和memoryview 不可变序列:tuple、str和bytes 阅读全文