KeyError in Python 3 when looping items

后端 未结 0 1265
盖世英雄少女心
盖世英雄少女心 2021-01-17 00:40

The problem with KeyError is when one of the fields within my JSON don\'t have a value or don\'t exist at all. To solve it, I put my loop in an exception so it can skip this

相关标签:
回答
  • 消灭零回复
提交回复
热议问题