会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
星星放飞
博客园
首页
新随笔
联系
订阅
管理
2020年3月22日
python中redis获得到的值是带b'**'
摘要: 原因在于在python中从Redis取出的Sting都变成bytes格式 解决一 # 加上decode_responses=True即可解决 redis_store = redis.StrictRedis(host='127.0.0.1', port=6379, decode_responses=T
阅读全文
posted @ 2020-03-22 16:37 星星放飞
阅读(1825)
评论(0)
推荐(1)
编辑
公告