Python中文网 - 问答频道, 解决您学习工作中的Python难题和Bug
Python常见问题
登录 新用户注册
首 页
问题库
内置函数
问答专家
Python标准库
NEW
课程中心
无法在Python2.7中打印某些unicode字符
2024-10-11 14:19:59
发布
您现在位置:
Python中文网
/
问答频道
/
正文
1018
3
网友
男 | 程序猿一只,喜欢编程写python代码。
我需要在Python 2.7中打印一些unicode字符。
为什么下面的代码给了我一个错误?
print(u'\u2601')
产出
^{pr2}$
Tags:
代码
错误
unicode
字符
print
pr2
u2601
0条回答
目前没有回答
相关问题
更多 >
编程相关推荐
根据jsonarray请求填充java Arraylist
java BufferedReader空差异
单击按钮时java将JLabel转换为计时器
有什么好的JavaSwing时间轴小部件吗?
java重叠导航抽屉和tablayout片段
java从多个类访问方法
json将java对象转换为POJO样式的http参数
java无法加载组件类org。声纳。一批独自创立批量插件安装程序
java Android 11 emulator可以在一定范围内广播Wifi吗?
安卓 Java到C对象传递
热门问题
当且仅当x不是真时,写一个值为真的表达式
6 个回答
当且仅当一个数字至少有两个连续的数字,每个数字等于3,或者其最后一个数字可被4整除时,该数字才不苍白
11 个回答
当且仅当前一个字母不是大写字母时,如何在大写字母前插入空格?
3 个回答
当且仅当嵌套对象中存在特定键时,才需要JSON架构条件
2 个回答
当且仅当所有给定条件均为tru时
1 个回答
当且仅当最后一个和下一个非缺失值为1时,如何用1填充Pandas系列中缺失的值
4 个回答
当且仅当满足最内层列表中的唯一性时,有效地更新嵌入文档列表中文档的列表字段
11 个回答
当且仅当特定列的值丢失时,如何删除行?
11 个回答
当且仅当特定字符使用Python连续重复时,如何移除该字符?
1 个回答
当且仅当用户是loggedout时使用Django的缓存?
11 个回答
当且仅当表不存在时,如何创建表?
4 个回答
当且仅当解析器没有任何子parser时,添加一些参数
6 个回答
当丢失对Python线程的所有引用时会发生什么?
1 个回答
当两两距离已知(但x和y不知道)时,使用kmeans查找质心和惯性
1 个回答
当两个712行数据帧与concat组合时,数据变为860行
11 个回答
当两个df有不同的索引时赋值
2 个回答
当两个numpy数组中有一个具有NAN值时,如何计算它们之间的相关系数?
5 个回答
当两个pandas数据帧包含重复键时,如何使用left join合并两个pandas数据帧?
9 个回答
当两个Pandas文件附加到csv时如何修复
1 个回答
当两个python mod都需要不同的python版本时,如何使用它们
7 个回答
热门文章
Python覆盖写入文件
7 个评论
怎样创建一个 Python 列表?
8 个评论
Python3 List append()方法使用
5 个评论
派森语言
11 个评论
Python List pop()方法
10 个评论
Python Django Web典型模块开发实战
1 个评论
Python input() 函数
9 个评论
Python3 列表(list) clear()方法
5 个评论
Python游戏编程入门
8 个评论
如何创建一个空的set?
7 个评论
python如何定义(创建)一个字符串
8 个评论
Python标准库 [The Python Standard Library by Ex
9 个评论
Python网络数据爬取及分析从入门到精通(分析篇)
3 个评论
Python3 for 循环语句
9 个评论
Python List insert() 方法
3 个评论
Python 字典(Dictionary) update()方法
3 个评论
Python编程无师自通 专业程序员的养成
10 个评论
Python3 List count()方法
7 个评论
Python 网络爬虫实战 [Web Crawler With Python]
5 个评论
Python Cookbook(第2版)中文版
8 个评论
目前没有回答
相关问题 更多 >
编程相关推荐