DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python pathlib create directory if not exists
pathlib.Path('/tmp/sub1/sub2').mkdir(parents=True, exist_ok=True)
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#python
#pathlib
#create
#directory
#exists
ADD COMMENT
Topic
COMMENT
Name
6+7 =
Submit