摘要: 1 from redis import StrictRedis 2 def demo(): 3 sr = StrictRedis(host='192.168.2.180') 4 try: 5 result = sr.set('name','itheima') 6 print(result) 7 ex 阅读全文
posted @ 2019-06-14 08:21 mia0812 阅读(168) 评论(0) 推荐(0) 编辑