redis = {}
redis['A'] = {}
redis['A']['1'] = value1
redis['A']['2'] = value2
redis['A']['3'] = value3
I need to make above structure in redis using python. I have established connection using redis-py client in python like this:
_connection = redis.StrictRedis(host='localhost', port=6379, db=0)
please let me know how to create , store and get values in redis using python?