Skip to content

Instantly share code, notes, and snippets.

import csv
import redis
import sys
from itertools import zip_longest
r = redis.Redis(host='localhost', port=6379)
csvwriter = csv.writer(sys.stdout)
def batcher(iterable, n):