标签:redis import res rom inpu result 127.0.0.1 out style
from redis import StrictRedis rds = StrictRedis(host=‘127.0.0.1‘, port=6379, db=0, decode_responses=True) input_output={‘inputKey‘:‘factor_input‘,‘outputKey‘:‘factor_output‘} rds.set(input_output.get(‘input‘),result) result = rds.get(input_output.get(‘input‘))
标签:redis import res rom inpu result 127.0.0.1 out style
原文地址:http://www.cnblogs.com/hdulzt/p/7067166.html