解决python3下读取redis返回byte类型的问题
[(32条消息) 解决python3下读取redis返回byte类型的问题_苗清水的博客-CSDN博客_decode_responses](https://blog.csdn.net/clean_fish/article/details/88865552)
decode_responses=fase这个参数决定返回结果是否decode,所以只需要设置连接将其改为true即可
sr = StrictRedis(host='localhost', port=6379,decode_responses=True)
[(32条消息) python3 redis 返回字节(bytes)而不是字符串(string)_风一样汉子的博客-CSDN博客_python redis 字节](https://blog.csdn.net/a1007720052/article/details/107342869)