Peter, that was very clear, thanks.

> So not only is
>
> for line in file(...):
>    # do stuff
>
> the most elegant, it is also the fastest. file.readlines() comes
close, but
> is only viable for "small" files.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to