There are two closely related problems.
First, in recipes.py you need access to all itertools.
At least that means what you need
import itertools
up. But in this case, you will need to qualify all the functions of itertools as itertools.<funcname>, as you say. (You can also use import itertools as it, then it.<funcname>.)
Secondly you can do
from itertools import islice, count, chain
but you will need to put all the necessary functions in a list.
, , , , -
from itertools import *
, , itertools, , , , .
-, , recipes.py; . ,
import recipes
recipes.take(...)
from recipes import take
take(...)