Debian – TypeError: can't concat str to bytes. It does not look any byte object around. python3
"TypeError: can't concat str to bytes" pops out at read(1) statement in following code. def __init__(self, infile): self.infile = infile while self.infile.read(1) != 'T': pass else: . infile is codecs.StreamReaderWriter object. My system is Linux Debian, with python 3.11.4. I…