- 博客(1)
- 资源 (1)
- 收藏
- 关注
原创 python collections.deque用法
python collections.deque用法 简介 collections.deque(maxlen=span)表示创建一个长度为span的队列 import collection test=collections.deque(maxlen=3) test.append(1) test.append(2) test.append(3) test #deque([1, 2, 3]) test.append(4) test #deque([2, 3, 4]) 如果指定长度maxlen,则超过长度,删
2020-08-25 17:33:04
792
ClearWindow.py
2017-03-09
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅