Comment on A neater way to print something every x iterations in Python

skel
Sun, 16 Aug 2009 02:57:16 +0000

list = range(1,100)
result = filter(lambda y: sys.stdout.write("progress info\n"), filter(lambda x: x % 10 == 0, list))

TADA!