Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python created nested directory

import os

try:
    os.makedirs("/dirA/dirB")
except FileExistsError:
    print("File already exists")
Source by www.programiz.com #
 
PREVIOUS NEXT
Tagged: #python #created #nested #directory
ADD COMMENT
Topic
Name
1+5 =