摘要:
bytearray类型是python中的二进制数组类型,返回一个字节数组。 byte=bytearray(str,encoding,error) str:待转化的字符串,若该值为字符串,则encoding参数必须存在(为utf-8,gbk,Latin-1等编码格式);若为b'xxx',则encodi 阅读全文
posted @ 2018-02-27 22:18 moisiet 阅读(2340) 评论(0) 推荐(0) 编辑
posted @ 2018-02-27 22:18 moisiet 阅读(2340) 评论(0) 推荐(0) 编辑
posted @ 2018-02-27 20:55 moisiet 阅读(155) 评论(0) 推荐(0) 编辑
posted @ 2018-02-27 19:49 moisiet 阅读(3883) 评论(0) 推荐(0) 编辑