Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

make directory python

# Make directory path (recursive) if it does not exist
# If exists then no exception is thrown
# Analogous to mkdir -p
os.makedirs("<<SOME_PATH>>", exist_ok=True)
Source by stackabuse.com #
 
PREVIOUS NEXT
Tagged: #directory #python
ADD COMMENT
Topic
Name
8+2 =