Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

split a path into all subpaths

import os
path = os.path.normpath(path)
path.split(os.sep)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #split #path #subpaths
ADD COMMENT
Topic
Name
3+8 =