Re: [Tutor] get key value from Redis instance

2018-05-28 Thread Silviu Chiric
Thank you Danny, indentation and separation of code worked out as you mentioned :) Have a nice day! On Mon, May 28, 2018 at 12:14 AM, Danny Yoo wrote: > > From a first glance: it looks like one of your print statements is not > > vertically aligned with the rest of your print statements, so

[Tutor] get key value from Redis instance

2018-05-27 Thread Silviu Chiric
Dear all I need to get the value of given key from Redis, or both key and value, the below code snippet fails always, even the connection is okay StrictRedis>> Connected! My code import redis try: conn = redis.StrictRedis( host=' redis-15838.c44.us-east-1-2.ec2.cloud.redislabs.com', port=15