Python学习——自己使用类封装操作redis数据库
摘要:
import redisclass MyRedis: def __init__(self,host,port=6379,db=0,password): self.r = redis.Redis(host=host,port=port,db=db,password=password) def op_s 阅读全文
posted @ 2018-07-26 13:13 大阳修炼中 阅读(281) 评论(0) 推荐(0) 编辑