I\'m using the regular redis
package in order to connect my Python code to my Redis server.
As part of my code I check if a string object is existed in my R
If you do not wish to iterate the list for decoding, set your redis connection to automagically perform the decode and you'll receive your required result. As follows in your connection string, please notice the decode_responses argument:
rdb = redis.StrictRedis(host="localhost", port=6379, db=0, decode_responses=True)
Happy Coding! :-) (revised 13 Nov 2019)