AttributeError: 'NoneType' object has no attribute 'a' code example Example: AttributeError: 'NoneType' object has no attribute 'format' print "{} World".format('Hello')