str reserved keyword in Python

str is a special function representing the string class.

s = str(obj)

str can be used to convert obj to string.

See also