Erreurs lors de l'utilisation de la méthode OS.Makedirs ()
# Python program to explain os.makedirs() method
# importing os module
import os
# os.makedirs() method will raise
# an OSError if the directory
# to be created already exists
# Directory
directory = "ranjeet"
# Parent Directory path
parent_dir = "/home/User/Documents/Softhunt"
# Path
path = os.path.join(parent_dir, directory)
# Create the directory
# 'ranjeet'
os.makedirs(path)
print("Directory '%s' created" %directory)
Outrageous Ostrich