<reponame>eightlay/BookShelter
import json

_DATA_PATH = "./data"

_BOOKS_PATH = "./data/books.csv"

_ENTITIES_PATH = "./data/entities.json"


with open(_ENTITIES_PATH, "r") as file:
    for var, data in json.load(file).items():
        exec(f"{var} = {data}")

import json

_DATA_PATH = "./data"

_BOOKS_PATH = "./data/books.csv"

_ENTITIES_PATH = "./data/entities.json"


with open(_ENTITIES_PATH, "r") as file:
    for var, data in json.load(file).items():
        exec(f"{var} = {data}")