Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pathlib path exists

import pathlib
path = pathlib.Path('my/path/to/file/or/dir')
assert path.exists()
 
PREVIOUS NEXT
Tagged: #pathlib #path #exists
ADD COMMENT
Topic
Name
9+2 =