尝试读取car.txt,内容是中文,结果报错了 Traceback (most recent call last): File "fix.py", line 12, in <module> for each_line in car.readlines(): UnicodeDecodeError: 'gbk' codec can't decode byte 0xa1 in position 4: illegal mu ltibyte sequence 问题代码 cars = open(r".\car.txt") for each_line in cars.readlines(): print(each_line) print(