iterator clone

Kay Schluehr kay.schluehr at gmx.net
Tue Jul 15 01:29:08 EDT 2008


On 13 Jul., 08:53, Yosifov Pavel <b... at ngs.ru> wrote:
> Whats is the way to clone "independent" iterator? I can't use tee(),
> because I don't know how many "independent" iterators I need. copy and
> deepcopy doesn't work...
>
> --pavel

You can try generator_tools

http://pypi.python.org/pypi/generator_tools/0.3.3




More information about the Python-list mailing list