标签:sre members **kwargs scan gets bit dex rpo elf
# Author:Li Dongfei
import redis
r = redis.Redis(host='192.168.56.7', port=6379)
r.set('foo', 'bar')
print(r.get('foo'))
# Author:Li Dongfei
import redis
pool = redis.ConnectionPool(host='192.168.56.7', port=6379)
r = redis.Redis(connection_pool=pool)
r.set('foo', 'bar')
print(r.get('foo'))
标签:sre members **kwargs scan gets bit dex rpo elf
原文地址:https://www.cnblogs.com/L-dongf/p/11145714.html