mpc wrote: <snip>
> def concatenate(sequences): > for seq in sequences: > for item in seq: > yield item You should check out itertools.chain(). It does this. You call it like "chain(seq1, seq2, ...)" instead of "chain(sequences)" though, which may be a problem for you. The rest of itertools might be interesting too: <http://docs.python.org/lib/module-itertools.html> <snip> -- -- http://mail.python.org/mailman/listinfo/python-list