#!/usr/bin/env python
#coding:utf-8
import pyssdb
ssdb = pyssdb.Client(host=ip, port=port)
key = 'app'
value['pv']=514
ssdb.hset('hash_tbl_name',key,json.dumps(value,ensure_ascii=False))
python 写hash数据到 ssdb
最新推荐文章于 2024-08-27 09:45:59 发布