import ntpath


def splitFolderPath(folderpath):
    """ Split filepath into folderpath of parent folder and foldername
    
    :param folderpath: Folderpath
    :type folderpath: str
    """
    
    folderpath_parent, foldername = ntpath.split(folderpath)
    return folderpath_parent, foldername