Lines Matching defs:text_file
29 text_file = ""
75 global text_file
79 usage = "Usage: %prog -t text_file -o out_file or\n%prog -b binary_file -o out_file"
83 parser.add_option('-t', '--text_file', dest='text_file',
97 if options.text_file is not None:
98 text_file = options.text_file
102 if text_file == '' and binary_file == '':
105 if text_file != '' and binary_file != '':
118 infile = os.fdopen(os.open(text_file, infile_flags, infile_mode), "r", encoding="utf-8")
481 if text_file != '':