Reputation: 83
>>> word = '\u041a\u041e\u041b'
>>> print u'\u041a\u041e\u041b'
КОЛ
>>> print word
\u041a\u041e\u041b
How to transform string as a variable to a readable kind (how print word)?
Upvotes: 1
Views: 124
Reputation: 798746
>>> print '\u041a\u041e\u041b'.decode('unicode-escape')
КОЛ
Upvotes: 6