def make_dirs(path):
    'Make the directories in the path of a file.\n\n    Args:\n        path (url): Path of a file.\n    '
    os.makedirs(os.path.dirname(path), exist_ok=True)
Make the directories in the path of a file.

Args:
    path (url): Path of a file.
def make_dirs(path):
    'Make the directories in the path of a file.\n\n    Args:\n        path (url): Path of a file.\n    '
    os.makedirs(os.path.dirname(path), exist_ok=True)