摘要: 一.字符串类型 str和bytes类型 >>> a = 'fdsj'>>> type(a)<class 'str'>>>> type(a.encode('utf-8')) ###服务器传输的时候才会使用到bytes类型<class 'bytes'> 二.换行和转义 三.字符串运算 下表实例变量a值为 阅读全文
posted @ 2019-02-17 20:16 一叶河图 阅读(255) 评论(0) 推荐(0) 编辑