python类型错误:'NoneType' object is not subscriptable

TypeError: 'NoneType' object is not subscriptable -->

原因:变量使用了系统内置的关键字list

解决:重新定义下这个变量

 

原文地址:https://www.cnblogs.com/yfacesclub/p/10417493.html