摘要:
from PIL import Image from PIL import ImageDraw import io import redisimport random # 定义ip和端口 host = 'localhost' port = 6379 # 建立连接 r = redis.Redis(ho 阅读全文
摘要:
import redis # 定义ip和端口host = 'localhost'port = 6379 # 建立连接r = redis.Redis(host=host, port=port) username = '11552252' r.lpush(username, 1) r.expire(us 阅读全文