python操作 redis-list
摘要:
#!/usr/bin/python #!coding: utf-8 import redis if __name__=="__main__": try: conn=redis.StrictRedis(host='192.168.80.41',port=6379,db=0) print(conn.ping()) conn.rpush('... 阅读全文
posted @ 2016-04-18 17:32 蒋乐兴的技术随笔 阅读(374) 评论(0) 推荐(0) 编辑