python操作redis数据库 r = redis.Redis(host='58.221.49.25',password='helloworld')n = r.lrange('dangd2:item',start=0,end=1)