DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
3+7 =
Submit