<reponame>software-foundations/learning-python<gh_stars>0
import redis
r = redis.Redis(host='localhost', port=6379, db=0)

print(r.get('foo'))
import redis
r = redis.Redis(host='localhost', port=6379, db=0)

print(r.get('foo'))