ASPN : Python Cookbook : Iterator Utilities http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/66448 Saved on Oct 05, 2003 Internet Archive