with open(file2, 'rb') as fin2:
    with open(output, 'wb') as fout:
        fout.writelines('{}\t{}'.format(line, next(fin2)) for line in fin1)
Fastest way to concatenate multiple files column wise - Python