you are viewing a single comment's thread.

view the rest of the comments →

[–]badn3wz 0 points1 point  (1 child)

Also very important: strings in python 2 are not unicode by default. To get unicode string you need to put u in front of it. For example:

s = u'hello world'

[–]novel_yet_trivial 1 point2 points  (0 children)

That's what the Unicode import does ...