COSIE.image_preprocessing.mkdir

mkdir(path)[source]

Create the parent directory for a given file or directory path if it does not already exist.

Parameters

pathstr

The full file path or directory path. The function will extract the parent directory and create it if it does not exist.

Returns

None

The parent directory is created in place if needed.