By using this, it can be used to keep the last n status messages or something similar: >>> import collections >>> circular = collections.deque(maxlen=2) ...
確定! 回上一頁