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