def read_mapper_output(file, separator='\t'):
    for line in file:
        yield line.rstrip().split(separator, 1)
Reads the stdin line by line
dataset/ETHPy150Open coursera/dataduct/examples/resources/scripts/word_reducer.py/read_mapper_output