蟒蛇.字符串的编码

det*_*ett 1 python

>>> word = '\u041a\u041e\u041b'
>>> print u'\u041a\u041e\u041b' 
???
>>> print word 
\u041a\u041e\u041b
Run Code Online (Sandbox Code Playgroud)

如何将字符串作为变量转换为可读类(如何打印字)?

Ign*_*ams 6

>>> print '\u041a\u041e\u041b'.decode('unicode-escape')
???
Run Code Online (Sandbox Code Playgroud)