Skip to content
Home » ‘NoneType’ object has no attribute ‘append’

‘NoneType’ object has no attribute ‘append’

To solve error ‘NoneType’ object has no attribute ‘append’ error follow below methods. It occurs while appending something to a list.

ERROR LOG

‘NoneType’ object has no attribute ‘append’

How to solve appending list but error ‘NoneType’ object has no attribute ‘append’ ?

The ‘NoneType’ object has no attributes, resulting in an AttributeError. When the None type object’s append() property is called, the ‘append’ error occurs. If no value or object is assigned to the python variable, the variable cannot be used. It is unnecessary to refer to this variable’s attribute value.

list.append(value)

Hope the above solution works.

Also read :

ImportError: No module named six
ImportError: No module named sqlalchemy