"""
@Author				: WarmXiao
@Email				: warm.xiao@ecoprint.tech
@Lost modifid		: 8/8/19 21:44
@Filename			: demo.py
@Description		: 
@Software           : PyCharm
"""
# from redis import StrictRedis
#
# r = StrictRedis(host='127.0.0.1', port=6379)
#
# pub = r.pubsub()  # Return a Publish/Subscribe object.
# pub.subscribe('__keyevent@0__:expired')
#
# for msg in pub.listen():
#     print(msg['type'])
#     print(msg['channel'])
#     print(msg['data'])


