In [1]:
import redis

In [2]:
conn = redis.Redis()  #Create a connection to Redis.
conn.set('hello', 'world')  #Set a value and see that it was set.
conn.get('hello')  #Get the value you just set.


Out[2]:
'world'

In [ ]: