会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
沐风
博客园
首页
新随笔
联系
管理
2016年7月2日
Python基础
摘要: 编码 函数入口 内置方法 常用基本数据类型1.int 整型 2.boolean 布尔 3.string 字符串:计算字符串长度之前,要把字符串转为utf-8编码 len(str.decode("utf-8")) 1).截取指定字符串 s = "i,am,lilei" print s[2:4] pri
阅读全文
posted @ 2016-07-02 09:56 ~沐风
阅读(263)
评论(0)
推荐(0)
公告