human
get parent directory name.
assistant
Here is a Python function to get parent directory name

import os

def get_parent_dir(path):
    """
    :param path: path to the file
    :return: parent directory name
    """
    return os.path.dirname(path)

# Enter the path
path ="orange automobil"

# Calling the function
parent_dir = get_parent_dir(path)

#Remember to inspect code for bugs.