jams.util.smkdirs

jams.util.smkdirs(dpath, mode=511)[source]

Safely make a full directory path if it doesn’t exist.

Parameters:
dpath : str

Path of directory/directories to create

mode : int [default=0777]

Permissions for the new directories

See also

os.makedirs