摘要: 数字number 整数int 复数complex 浮点数float 小整数池:-5~257 布尔值bool True Falsel 三元运算 字节bytes与字符串string 字节-->decode-->字符串 字符串-->encoding字节 设置参数:encoding=“utf-8” 阅读全文
posted @ 2018-02-19 21:21 Kils 阅读(206) 评论(0) 推荐(0) 编辑
摘要: 字符编码 ASCII gb2301 GBK gb18030 Unicode 2bytes(2个字节) utf-8 英语:1byte(1个字节)汉语:3bytes(3个字节) 语言基础 while 循环 参考网址:http://www.runoob.com/python/python-for-loop 阅读全文
posted @ 2018-02-19 20:54 Kils 阅读(212) 评论(0) 推荐(0) 编辑