check_path(path)
check_path
Checks whether a directory exists and creates it if it doesn't.
Checks whether a directory exists and creates it if it doesn’t.
path (str) – Path of directory to check.