Importing more_itertools
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 ?
I have seen that
repeat()
is anitertools
function. So I have tried to install ther is no matching distribution.