摘要: 编码 函数入口 内置方法 常用基本数据类型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)