scripts/constants.py (2 lines of code) (raw):

import os ANNOTATIONS_DIR = os.path.join(os.path.dirname(__file__), "..", "annotations")