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 my python 2024-05-02 45 点赞 0 评论 68 浏览