摘要: ascii()函数 bytearray()函数 定义和用法 bytearray() 函数返回 bytearray 对象。 它可以将对象转换为 bytearray 对象,或者创建指定大小的空字节数组对象。 bytearray(x, encoding, error) bytes()函数 callable 阅读全文
posted @ 2021-07-04 21:32 whatever, 阅读(62) 评论(0) 推荐(0)
摘要: 字典操作 dict.get(key, value=None) 当value的值存在时返回其本身,当key的值不存在时返回None(即默认参数)。 编码与解吗 有一段python的编码程序如下:urllib.quote(line.decode("gbk").encode("utf-16")),请问经过 阅读全文
posted @ 2021-07-04 00:14 whatever, 阅读(97) 评论(0) 推荐(0)