数据插入mysql的时候报了excepted str instance, bytes found。相应字段的调试结果如图,这是什么原因?
来源:6-20 保存数据到mysql中 -2
qq_鸣神剑二_0
2018-03-31



写回答
1回答
-
bobby
2018-04-02
你检查一下你的item中哪个值是bytes类型的 你decode一下就行了
00
相似问题
数据插入mysql的时候报了excepted str instance, bytes found。相应字段的调试结果如图,这是什么原因?
来源:6-20 保存数据到mysql中 -2
qq_鸣神剑二_0
2018-03-31



1回答
bobby
2018-04-02
你检查一下你的item中哪个值是bytes类型的 你decode一下就行了
相似问题