On Mar 14, 11:44 am, Laurent Pointal <[EMAIL PROTECTED]> wrote:
> Both work, you may prefer xrange/iteritems for iteration on large
> collections, you may prefer range/items when processing of the result
> value explicitly need a list (ex. calculate its length) or when you are
> going to manipulate the original container in the loop.
>
> A+
>
> Laurent.

Laurent -

Extremely helpful, exactly what I was looking for.

Thanks,
Drew

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

Reply via email to