I am run into trouble .My code below.But I do not know why there is a char \'b\' before output string \"Hello Python\".
>>> import redis >>>
It means it's a byte string
You can use:
redis.StrictRedis(host="localhost", port=6379, charset="utf-8", decode_responses=True)
using decode_responses=True to make a unicode string.
decode_responses=True