摘要: 在写python脚本时遇到AttributeError: 'NoneType' object has no attribute 'append' a=[] b=[1,2,3,4] a = a.append(b) 执行一次后发现a的类型变为了NoneType。 下次执行时就会出现如题所示的错误。 把a 阅读全文
posted @ 2018-05-28 09:45 小宇先森 阅读(1478) 评论(0) 推荐(0) 编辑