Iamdoudou 最近的时间轴更新
Iamdoudou

Iamdoudou

V2EX 第 279623 号会员,加入于 2018-01-04 14:44:15 +08:00
Iamdoudou 最近回复了
2018-01-05 16:24:46 +08:00
回复了 Iamdoudou 创建的主题 Python Python 报错“local variable ‘id’ referebced before assigment”
这个我想了下,在前面定义了一个空的 id,但是现在做着发现了有一个错误,提示‘ gbk ’ codec cna't encode character u'\xa0'in position 421:illegal multibyte sequence
这块,我已经在循环里面增加了
for i in range(len(l)):
l[i]=l[i].replace(u'\xa0', '')
为啥还是出现这个
2018-01-05 15:27:58 +08:00
回复了 Iamdoudou 创建的主题 Python Python 报错“local variable ‘id’ referebced before assigment”
求教,正在慢慢摸索中
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3232 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 13ms · UTC 11:57 · PVG 19:57 · LAX 04:57 · JFK 07:57
Developed with CodeLauncher
♥ Do have faith in what you're doing.