浙江省高等学校教师教育理论培训

微信搜索“毛凌志岗前心得”小程序

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2010年4月20日

摘要: 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(... 阅读全文
posted @ 2010-04-20 10:23 lexus 阅读(470) 评论(0) 推荐(0) 编辑

摘要: 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 阅读全文
posted @ 2010-04-20 09:40 lexus 阅读(176) 评论(0) 推荐(0) 编辑