I've got a very long list of items, 30K+. I would like to loop through the entire list, but in groups/blocks of 10 or 100s.
So:
for 100items in 30Klist:
print 100items # list of 100 items from the long list
Is that somehow possible?
I've got a very long list of items, 30K+. I would like to loop through the entire list, but in groups/blocks of 10 or 100s.
So:
for 100items in 30Klist:
print 100items # list of 100 items from the long list
Is that somehow possible?