Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python check if path does not exist

import os
if not os.path.exists('my_folder'):
    os.makedirs('my_folder')
Source by www.tutorialspoint.com #
 
PREVIOUS NEXT
Tagged: #python #check #path #exist
ADD COMMENT
Topic
Name
9+6 =