Path_Folder

cosmo_utils.utils.file_utils.Path_Folder(pathdir, time_sleep=0.5)[source] [edit on github]

Creates a folder if it does not exist already

Parameters:

pathdir : str

Path to the desired directory

time_sleep : float, optional

Amount of time in seconds to sleep or wait for the process to finish. By default time_slee is set to 0.5 seconds.