Jacob Kaplan-Moss

đź“Ś ASPN : Python Cookbook : Getting items in batches

I never remember how to do this right. Don’t miss the comments for Raymon Hettinger’s amazingly clever version.