12 lines
164 B
Python
12 lines
164 B
Python
#!/usr/bin/python3
|
|
|
|
import redis
|
|
|
|
REDIS_PORT = 6397
|
|
REDIS_HOST = '127.0.0.1'
|
|
|
|
redSrv = redis.Redis(
|
|
host=REDIS_HOST,
|
|
port=REDIS_PORT,
|
|
db=0)
|