Python Forum
keeping the last 4 records in a list
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
keeping the last 4 records in a list
#2
It is not in the standard library, but more_itertools.windowed() looks like the appropriate ideocyte.
Skaperen likes this post
Reply


Messages In This Thread
keeping the last 4 records in a list - by Skaperen - Feb-23-2021, 08:17 PM
RE: keeping the last 4 records in a list - by Gribouillis - Feb-23-2021, 08:51 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  savin ideas, keeping notes Skaperen 15 9,475 Mar-31-2018, 10:26 PM
Last Post: Almenon

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020