jyoun...@kc.rr.com wrote: > I was surfing around looking for a way to split a list into equal > sections.
non-recursive, same-unreadeable (worse?) one liner alternative: def chunks(s, j): return [''.join(filter(None,c))for c in map(None,*(s[i::j]for i in range(j)))] -- By ZeD -- http://mail.python.org/mailman/listinfo/python-list