with codecs.open('eprime.txt', encoding='utf-16') as f:
    with open('output.csv', 'w') as fout:
        writer = csv.writer(fout, delimiter='\t')
writer.writerow(['Subject', 'itemID', 'bias1Answer'])
for line in f:
    if ':' in line:
        value = line.split()[-1]
if 'Subject:' in line:
    subject = value
elif 'itemID:' in line:
    itemID = value
elif 'bias1Answer:' in line:
    bias1Answer = value
Разбор файла txt в словарь для записи в файл csv