标签:set false return str pipeline import ctr exec pip
#coding:utf8def main():
oprRedis = OprRedis("localhost","6379")
oprRedis.set("wf","wangfei")
print oprRedis.get("xjb")
pipline = oprRedis.pipeline()
try:
pipline.set("xxf","xiaoxiaofang")
pipline.set("ldh","liudehua")
pipline.execute()
except Exception,e:
print e
main()
标签:set false return str pipeline import ctr exec pip
原文地址:http://blog.51cto.com/xujingbo/2155038