A Unicode problem -HELP

manstey manstey at csu.edu.au
Wed May 17 04:19:59 CEST 2006


Hi Martin,

HEre is how I write:

input_file = open(input_file_loc, 'r')
output_file = open(output_file_loc, 'w')
for line in input_file:
    output_file.write(str(word_info + parse + gloss))  # = three
functions that return tuples

(u'F', u'\u0254')  are two of the many unicode tuple elements returned
by the three functions.

What am I doing wrong?




More information about the Python-list mailing list