acidbase.init_dir

acidbase.init_dir(path: str | Path) str

Create a directory (and parents) if it does not exist.

Parameters:

path (str or Path) – Directory path to create.

Returns:

The absolute path of the created directory.

Return type:

str