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
Post a Comment