python redis 2018-10-26 本文已影响0人 邪恶的奥伯伦 import redis r=redis.Redis(host='localhost',port=6379) r.set('apple','a') r.get('apple')