from pathlib import Path


def Get_DirectoryOfFilePath(file_path):
    """
    Get source directory from file path
    :param file_path:File Path
    :return:Directory
    """
    p = Path(file_path)
    return p.parent