AttributeError: 'str' object has no attribute 'datatype' code example
Example 1: AttributeError: 'NoneType' object has no attribute 'format'
print "{} World".format('Hello')
Example 2: str object has no attribute len
str = "this is string example....wow!!!";
print("Length of the string: ", len(str))