Iterator addition

bearophileHUGS at lycos.com bearophileHUGS at lycos.com
Sat Nov 12 21:12:03 EST 2005


Tom Anderson:
> And we're halfway to looking like perl already! Perhaps a more pythonic
> thing would be to define a "then" operator:
> all_lines = file1 then file2 then file3

Or a "chain" one:
> all_lines = file1 chain file2 chain file3

Bearophile




More information about the Python-list mailing list