摘要:
e.g.a=dict(a=1,b=2,c=3)r=redis.Redis()r.set("haha",a)r.hget("haha","b")#this will raise a exceptionthe right way is as follows:r.hmset("haha",a)#attenation:when you use this approach,if you use r.set(... 阅读全文
摘要:
e.g.a=dict(a=1,b=2,c=3)r=redis.Redis()r.set("haha",a)r.hget("haha","b")#this will raise a exceptionthe right way is as follows:r.hmset("haha",a)#attenation:when you use this approach,if you use r.set(... 阅读全文
摘要:
after git pull you need make,this is important,then use ./redis-server and in python client,type r.info(),you'll find you redis-server version is 1.3.8congratiouns!hahahahahha 阅读全文
|