`
zhanyingle_1981
  • 浏览: 321443 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

TypeError: 'NoneType' object is unsubscriptable

 
阅读更多

TypeError: 'NoneType' object is unsubscriptable

 

 x = None 然后你使用了x[0],就会出现这个错误。

 

If a list a is none, and you use a[1], it will throw this error

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics