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