无法在Python2.7中打印某些unicode字符

2024-10-11 14:19:59 发布

您现在位置:Python中文网/ 问答频道 /正文

我需要在Python 2.7中打印一些unicode字符。

为什么下面的代码给了我一个错误?

print(u'\u2601')

产出

^{pr2}$

Tags: 代码错误unicode字符printpr2u2601

热门问题