Skip to content

Instantly share code, notes, and snippets.

import json
import os
from collections import deque
root_dir = '~/slack_messages'
target_user = "UMQN69N8M"
res = []
for dirpath, dirnames, filenames in os.walk(root_dir):