Human: What is a good Python program to create a path if it doesn't exist. Assistant: 
Here is a Python program to create a path if it doesn't exist

import os

def create_path(path):
    """Creates path if doesnt exist"""
    if not os.path.exists(path):
        os.makedirs(path)
    return path

# Enter the path
path = "/home/rosey/Desktop/"

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

#Example Output
# /home/rosey/Desktop/

#Remember to inspect code for bugs.