python提示AttributeError: 'NoneType' object has no attribute 'append'【转发】
摘要:
在写python脚本时遇到AttributeError: 'NoneType' object has no attribute 'append'a=[]b=[1,2,3,4]a = a.append(b)执行一次后发现a的类型变为了NoneType。下次执行时就会出现如题所示的错误。把a = a.a 阅读全文
posted @ 2019-03-20 10:06 学习一点点 阅读(4619) 评论(0) 推荐(0)
浙公网安备 33010602011771号