DEV Community

JimLambda
JimLambda

Posted on

Python str vs unicode types

Python str vs unicode types

104

Working with Python 2.7, I'm wondering what real advantage there is in using the type unicode instead of str, as both of them seem to be able to hold Unicode strings. Is there any special reason apart from being able to set Unicode codes in unicode strings using the…

Top comments (0)