Python. The coding of a string -


>>> word = '\u041a\u041e\u041b' >>> print u'\u041a\u041e\u041b'  КОЛ >>> print word  \u041a\u041e\u041b 

how transform string variable readable kind (how print word)?

>>> print '\u041a\u041e\u041b'.decode('unicode-escape') КОЛ 

Comments

Popular posts from this blog

c# - IMAP GMAIL getting folder list problem -

CUDA shared memory -