So my code looks like this:
from watchdog.observers import Observer from watchdog.events import FileSystemEventHandler import time import os import json dire