1. 作用: str(object, encoding=encoding, errors=errors)函数将object对象(对象的encoding编码默认为UTF-8)转换为字符串, 若失败则执行errors