安装包如下:
pip install redis-py-cluster
代码如下:
运行结果如下:
Python与Redis集群的交互
原文:https://www.cnblogs.com/lisus2000/p/9810040.html