Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Importing more-intertools

I have just find the wonderfull library more_itertools. I have installed it. When I try

from more_itertools import roundrobin

roundrobin is perfectly accessible. But for

But now as i want alos intersperse, I have tried

from more_itertools import intersperse

but I have an error.

So I have tried

import more_itertools as mi

It seems to be ok to work but it doesn't find the repeat function. Erro : name 'repeat' is not defined.

I wonder why ?

Importing more-intertools

I have just find the wonderfull library more_itertools. I have installed it. When I try

from more_itertools import roundrobin

roundrobin is perfectly accessible. But for

But now as i want alos intersperse, I have tried

from more_itertools import intersperse

but I have an error.

So I have tried

import more_itertools as mi

It seems to be ok to work but it doesn't find the repeat function. Erro Error : name 'repeat' is not defined.

I wonder why ?

click to hide/show revision 3
None

Importing more-intertools

I have just find the wonderfull library more_itertools. I have installed it. When I try

from more_itertools import roundrobin

roundrobin is perfectly accessible. But for

But now as i want alos intersperse, I have tried

from more_itertools import intersperse

but I have an error.

So I have tried

import more_itertools as mi

It seems to be ok to work but it doesn't find the repeat function. Error : name 'repeat' is not defined.

I wonder why ?