sanitizing a file path in python,os.makedirs(path_directory)