标签: python
>>> word = '\u041a\u041e\u041b' >>> print u'\u041a\u041e\u041b' КОЛ >>> print word \u041a\u041e\u041b
如何将字符串作为变量转换为 可读类(如何打印字)?
答案 0 :(得分:6)
>>> print '\u041a\u041e\u041b'.decode('unicode-escape') КОЛ