Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python check if directory exists and create

if not os.path.exists('my_folder'):
    os.makedirs('my_folder')
 
PREVIOUS NEXT
Tagged: #python #check #directory #exists #create
ADD COMMENT
Topic
Name
2+6 =