会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
小飞的
博客园
首页
新随笔
联系
管理
订阅
2019年3月24日
编码
摘要: 一、各种编码 1.1 各种编码的字节占用个数 1 1 = "peng" 2 s2 = b"peng" 3 4 print(s1,type(s1)) 5 print(s2,type(s2)) 6 结果: 7 peng <class 'str'> 8 b'peng' <class 'bytes'> 1
阅读全文
posted @ 2019-03-24 15:26 xiaofeiAI
阅读(192)
评论(0)
推荐(0)
公告