On 1/26/06, Alan Gauld <[EMAIL PROTECTED]> wrote:
> > I often do a loop over arbitrary number of sequences. I do it like this:
> >
> >for elem1 in seq1:
> >for elem2 in seq2:
> >do whatever seq1,seq2
> > this isn`t nice I think.
>
> Actually its pretty common and not that ugly.
> But...
> I often do a loop over arbitrary number of sequences. I do it like this:
>
>for elem1 in seq1:
>for elem2 in seq2:
>do whatever seq1,seq2
>
> this isn`t nice I think.
Actually its pretty common and not that ugly.
But...
> myiterator=geniousfunction(seq1,seq2,seq3)
>
> and then myite
Elderely Geek wrote:
> Hi,
> I`m a python newbie and could use some help.
>
> I often do a loop over arbitrary number of sequences. I do it like this:
>
> for elem1 in seq1:
> for elem2 in seq2:
> do whatever seq1,seq2
>
> this isn`t nice I think. Is there some way I can say
> my
Hi,
I`m a python newbie and could use some help.
I often do a loop over arbitrary number of sequences. I do it like this:
for elem1 in seq1:
for elem2 in seq2:
do whatever seq1,seq2
this isn`t nice I think. Is there some way I can say myiterator=geniousfunction(seq1,seq2,seq3)
a