read_redis.py 190 B

12345678910
  1. import time
  2. import random
  3. import redis
  4. import string
  5. r = redis.Redis(host='db.ptt.cx', port=6379, db=1,password='choozmo9')
  6. #msg=r.get('webreq_error')
  7. msg=r.get('google_error')
  8. print(msg)