Python: Attribute Error - 'NoneType' object has no attribute 'something'

来源:互联网 发布:武器禁运中国知乎 编辑:程序博客网 时间:2024/06/04 19:34

NoneType means that instead of an instance of whatever Class or Object you think you're working with, you've actually gotNone. That usually means that an assignment or function call up above failed or returned an unexpected result.
0 0