David Perlman schrieb: > I found this by "using Google". You should be able to make a simple > modification (I can think of a couple of ways to do it) to have it > pad the end with "None". It is 100% iterator input and output. > > http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/303279
Yes, this looks just like what I need, thanks for the pointer. I guessed that the islice function would probably be part of the solution, but I couldn't quite grok how it works. Chris _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor