On 11/14/06, Aahz <[EMAIL PROTECTED]> wrote:
> [off-list to avoid more CLUTTER]
Sorry, I don't consider a well-intentioned discussion to understand
how things work at the design level of python CLUTTER.
> On Mon, Nov 13, 2006, George Sakkis wrote:
> >
> > Excuse my ignorance, but what's a "self-iter" ?
>
> Files
# iterate over the first 10 lines of two files
f1, f2 = map(Iter, (open('foo.txt'), open('bar.txt'))
for line in f1[:10] + f2[:10]:
print line,
Pretty pythonic if you ask me.
George
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe:
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com