Exemplo n.º 1
0
    def create(self, db_path: str, db_name: str):

        full_path = os.path.join(db_path, db_name)
        if not os.path.exists(full_path):
            os.mkdir(full_path)

        header = Header(full_path)
        header.save()

        self.__db_path = full_path