import os


def emplace_directory(path, name):
    """
    Creates the directory specified by name in the given path if the directory does not exists

    Parameters
    ----------
    path : str
        the path where to create the directory
    name : str
        the directory name

    Returns
    -------
    str
        the emplaced directory string
    """

    dir = os.path.join(path, name)
    if not os.path.exists(dir):
        os.makedirs(dir)
    return dir

import os


def emplace_directory(path, name):
    """
    Creates the directory specified by name in the given path if the directory does not exists

    Parameters
    ----------
    path : str
        the path where to create the directory
    name : str
        the directory name

    Returns
    -------
    str
        the emplaced directory string
    """

    dir = os.path.join(path, name)
    if not os.path.exists(dir):
        os.makedirs(dir)
    return dir

Creates the directory specified by name in the given path if the directory does not exists      Parameters     ----------     path : str         the path where to create the directory     name : str         the directory name      Returns     -------     str         the emplaced directory string