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

WPF: binding viewmodel property of type DateTime to Calendar inside ItemsControl -

java - Getting corefrences with Standard corenlp package -

jQuery clickable div with working mailto link inside -