George Sakkis a écrit :
> Daniel Nogradi wrote:
>
>>In a recent thread,
>>http://mail.python.org/pipermail/python-list/2006-September/361512.html,
>>a couple of very useful and enlightening itertools examples were given
>>and was wondering if my problem also can be solved in an elegant way
>>by it
> > In a recent thread,
> > http://mail.python.org/pipermail/python-list/2006-September/361512.html,
> > a couple of very useful and enlightening itertools examples were given
> > and was wondering if my problem also can be solved in an elegant way
> > by itertools.
> >
> > I have a bunch of tuples
On 15/09/06, Daniel Nogradi <[EMAIL PROTECTED]> wrote:
> > or maybe a one liner :)
> >
> > >>> (a + 5*(None,))[:5]
> > (1, 2, 3, None, None)
> >
>
> Well, something like this is what I actually do. But for this first I
> have to loop over all tuples and pick out the maximal length, so over
> all
Daniel Nogradi wrote:
> In a recent thread,
> http://mail.python.org/pipermail/python-list/2006-September/361512.html,
> a couple of very useful and enlightening itertools examples were given
> and was wondering if my problem also can be solved in an elegant way
> by itertools.
>
> I have a bunch o
> > In a recent thread,
> > http://mail.python.org/pipermail/python-list/2006-September/361512.html,
> > a couple of very useful and enlightening itertools examples were given
> > and was wondering if my problem also can be solved in an elegant way
> > by itertools.
> >
> > I have a bunch of tuples
On 15/09/06, Daniel Nogradi <[EMAIL PROTECTED]> wrote:
> In a recent thread,
> http://mail.python.org/pipermail/python-list/2006-September/361512.html,
> a couple of very useful and enlightening itertools examples were given
> and was wondering if my problem also can be solved in an elegant way
> b