In article <[EMAIL PROTECTED]>,
Larry Bates <[EMAIL PROTECTED]> wrote:
>
>Note: if lists are long take a look at itertools izip. zip creates
>a list of lists which could take lots of memory/time if they are VERY
>large. itertools izip iterates over them in place.
That's half-true -- while izip
Larry Bates <[EMAIL PROTECTED]> wrote:
> Note: if lists are long take a look at itertools izip. zip creates
> a list of lists which could take lots of memory/time if they are VERY
> large. itertools izip iterates over them in place.
That's interesting. I was going to quibble with the assertion
Horta wrote:
> On Feb 9, 9:00 am, Stephan Diehl <[EMAIL PROTECTED]> wrote:
>> Horta wrote:
>>> Hi folks,
>>> Suppose I have to loop over 3 lists being the same size at the same
>>> time and order. How can I do that without using the range() function
>>> or whatever indexing?
>>> Example using
On Feb 9, 9:00 am, Stephan Diehl <[EMAIL PROTECTED]> wrote:
> Horta wrote:
> > Hi folks,
>
> > Suppose I have to loop over 3 lists being the same size at the same
> > time and order. How can I do that without using the range() function
> > or whatever indexing?
>
> > Example using range:
>
>
Horta wrote:
> Hi folks,
>
> Suppose I have to loop over 3 lists being the same size at the same
> time and order. How can I do that without using the range() function
> or whatever indexing?
>
> Example using range:
>
> a = ['aaa', '']
> b = ['bb', '']
> c = ['c', '']
>
> for
Horta wrote:
> Hi folks,
>
> Suppose I have to loop over 3 lists being the same size at the same
> time and order. How can I do that without using the range() function
> or whatever indexing?
>
> Example using range:
>
> a = ['aaa', '']
> b = ['bb', '']
> c = ['c', '']
>
> fo