摘要: from PIL import Image from PIL import ImageDraw import io import redisimport random # 定义ip和端口 host = 'localhost' port = 6379 # 建立连接 r = redis.Redis(ho 阅读全文
posted @ 2020-07-21 16:21 关不上门 阅读(184) 评论(0) 推荐(0) 编辑
摘要: import redis # 定义ip和端口host = 'localhost'port = 6379 # 建立连接r = redis.Redis(host=host, port=port) username = '11552252' r.lpush(username, 1) r.expire(us 阅读全文
posted @ 2020-07-21 16:16 关不上门 阅读(357) 评论(0) 推荐(0) 编辑