readline()
UnicodeDecodeError: 'gbk' codec can't decode byte 0xbd in position 7265: illegal multibyte sequence
解决方法
将
open(class_file_name, 'r')
改为
open(class_file_name, 'r', encoding='utf-8')
readline()
UnicodeDecodeError: 'gbk' codec can't decode byte 0xbd in position 7265: illegal multibyte sequence
将
open(class_file_name, 'r')
改为
open(class_file_name, 'r', encoding='utf-8')