[Tutor] Printing concatenated unicode strings
Siim Märtmaa
foobar8 at gmail.com
Mon Oct 20 16:39:59 CEST 2008
Hello
i would like to do this
>>> print u'\u30fa'
ヺ
with a method like this
b = "30fa"
uni = u'\u' + b + '\''
but it prints this
UnicodeDecodeError: 'unicodeescape' codec can't decode bytes in
position 0-1: end of string in escape sequence
so how to concatenate properly to print the character ヺ
I want to do this to print the characters in a loop so that b would change
More information about the Tutor
mailing list