小编chr*_*ris的帖子

如何打印包含unicode字符的变量?

print u'\u0D05'
a = '\u0D05'
print a
Run Code Online (Sandbox Code Playgroud)

print a给出\u0D05输出,但我想打印它代表的unicode字符,即?.我怎样才能做到这一点?

python unicode python-2.7

8
推荐指数
1
解决办法
7689
查看次数

标签 统计

python ×1

python-2.7 ×1

unicode ×1