Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python create nested directory

from pathlib import Path
Path("/my/directory").mkdir(parents=True, exist_ok=True)    #python 3.5 above
 
PREVIOUS NEXT
Tagged: #python #create #nested #directory
ADD COMMENT
Topic
Name
3+7 =