Generator chaining?

Gabriel Genellina gagsl-py at yahoo.com.ar
Tue Aug 29 16:12:51 EDT 2006


At Tuesday 29/8/2006 16:41, John Doe wrote:

>This is sort of a feature request/idea: Chaining generators.
>
>If you have two lists (or tuples) and you add them, the result is a
>concatenation of the two.
>I think it would be nice if it was possible to do something similar with
>generators. The best way to explain is by code example:

Already done: itertools.chain



Gabriel Genellina
Softlab SRL 


	
	
		
__________________________________________________
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
¡Probalo ya! 
http://www.yahoo.com.ar/respuestas




More information about the Python-list mailing list