There is a script:
def extract(filePath): f = open(filePath, 'rb') i = 0 lines = [] for line in f: print(line) line = str(line) if line == 'PlAr\n': break lines.append(line.split('\t')) i += 1 return lines[13:len(lines)-1] The problem is that when line is converted to a line, the letter "b" appears at the beginning of each line, for example, the line in the file was 'text', and after the conversion it became 'b "text"'. In addition to the character b, quotation marks also appear. In general, how to make the string converted without a character and quotes?