import os LOG_DIR = os.path.dirname(os.path.abspath(__file__))