deepcave.utils.files

# Files

This module provides a utility to create directories from a filename.

Functions

make_dirs(filename[, parents])

Create a directory.

deepcave.utils.files.make_dirs(filename, parents=True)[source]

Create a directory.

Parameters:
  • filename (Union[str, Path]) – The name and path of the file.

  • parents (bool, optional) – Whether intermediate directories should be created. Default is True.

Return type:

None