2017년/Python
redis
$wget http://download.redis.io/redis-stable.tar.gz $tar xvzf redis-stable.tar.gz $cd redis-stable $make$make test $sudo apt-get install redis-server 사용은import redis r = redis.StrictRedis(host='localhost',port=6379,db=0) r.set(userId,gridId) print(r.get(userId)) b'를 없에려면 (host='localhost', port=6379, charset="utf-8", decode_responses=True)
2017. 11. 22. 15:13