Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

join in pathlib path

# The correct operator to extend a pathlib object is /
from pathlib import Path

dir_path = Path('directory')
subdir_path = dir_path / "subdir_path"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #join #pathlib #path
ADD COMMENT
Topic
Name
5+3 =