(dir_path)
return dir_path
Creates a directory (or nested directories) if they don't exist.
Creates a directory (or nested directories) if they don't exist.
Creates a directory ( or nested directories ) if they don t exist .
def create_dir(dir_path):
    """ Creates a directory (or nested directories) if they don't exist.
    """
    if not osp.exists(dir_path):
        os.makedirs(dir_path)

    return dir_path
def create_dir ( dir_path ) : if not osp . exists ( dir_path ) : os . makedirs ( dir_path ) return dir_path