import redis pool = redis.ConnectionPool(host='127.0.0.1',port=6379,password='123456') r = redis.Redis(connection_pool=pool) flushall #用于清除所有的库所有key数据
import redis pool = redis.ConnectionPool(host='127.0.0.1',port=6379,password='123456') r = redis.Redis(connection_pool=pool) flushall #用于清除所有的库所有key数据