Spaces:
Sleeping
Sleeping
File size: 380 Bytes
472e1d4 | 1 2 3 4 5 6 7 8 9 10 11 12 13 | import os
from os.path import abspath, dirname, join
# Root of the project
ROOT_DIR = abspath(join(dirname(__file__), '..'))
# Database directory and path
DB_DIR = join(ROOT_DIR, 'db')
os.makedirs(DB_DIR, exist_ok=True)
DB_PATH = join(DB_DIR, 'sample_ecommerce.db')
# Output directory for plots
PLOTS_DIR = join(ROOT_DIR, 'output', 'plots')
os.makedirs(PLOTS_DIR, exist_ok=True)
|