dautil.path_util module

dautil.path_util.split(path, n=1)[source]

recursively split paths into components for n times assert os.path.split(path) == split(path)

dautil.path_util.split_all(path)[source]

recursively split paths into components until exhausted