從Redis把數據寫入到文件

# -*- coding: utf-8 -*- import redis import json rediscli = redis.StrictRedis(host='127.0.0.1', port=6379, db= 0) with open('output.txt', 'a', encoding='utf-8') as file_object: while True:
相關文章
相關標籤/搜索