Bash-like pipes in Python

Random832 random832 at fastmail.com
Thu Mar 17 12:31:30 EDT 2016



On Thu, Mar 17, 2016, at 10:36, Chris Angelico wrote:
> This object has a generator/list duality, but if you observe it, it
> collapses to a list. When used interactively, it'd be pretty much the
> same as calling list() as the last step, but in a script, they'd
> operate lazily.
> 
> Quantum computing is here already!

Might as well add the sequence protocol while we're at it.



More information about the Python-list mailing list