import MeCab

text = '私は果物の中では、リンゴとみかんが好きです。'
tagger = MeCab.Tagger('-Owakati')
print(tagger.parse(text))