python 3 convert unicode to string code example Example: how to convert unicode to string python str.encode()