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
_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to