|
|
马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册
x
为什么上课的例子一摸一样,会报错。
Traceback (most recent call last):
File "C:\Users\zhang\Desktop\New folder\test1.py", line 46, in <module>
for each_line in f:
File "C:\Users\zhang\AppData\Local\Programs\Python\Python36\lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x8d in position 77: character maps to <undefined>
|
|