📜  redis获取所有键值python代码示例

📅  最后修改于: 2022-03-11 14:45:06.192000             🧑  作者: Mango

代码示例1
#using Pyredis library:

import redis

r = redis.Redis("localhost", 6379)
for key in r.scan_iter():
       print key