human
how do i make relative directory name in.
assistant
Here is a Python program to how do I make relative directory names in Python

import os

def make_relative_dir(path: str) -> str:
        """
        Make a relative path from the current working directory.
        :param path: path to the file
        :return: relative path
        """
        return os.path.relpath(path, os.getcwd())

# Enter the path
path = "/home/user/my_file.txt"

# Calling the function
print((make_relative_dir(path)))

#Example Output
# ../home/user/my_file.txt

#Remember to inspect code for bugs.